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
(6,548 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
(6,544 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
(6,521 Views)

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


GCentral
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
(6,515 Views)

THANK YOU!

0 Kudos
Message 5 of 5
(6,503 Views)