ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert space in string

Solved!
Go to solution

Hello,

 

I am attempting to place spaces in the string after every 4 characters (2 bytes).

 

Any help will be greatly appreciated.

 

Thanks,

hiNi.

0 Kudos
Message 1 of 5
(7,190 Views)
Solution
Accepted by topic author hiNI

Several ways to do this.  My prefered is regular expressions...

 

2013-08-26 09_23_31-put spaces in string.vi Front Panel _.png

Message 2 of 5
(7,186 Views)

Hello,

 

I put your inputs (please see attached vi), but I am not getting the correct output.  Please tell me what I am doing wrong.

 

Thanks,

hiNi

0 Kudos
Message 3 of 5
(7,163 Views)

Right click on the Search and Replace String function and select Regular Expression.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 5
(7,157 Views)

THANK YOU!

0 Kudos
Message 5 of 5
(7,145 Views)