LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert carriage return into string

can someone tell me how to insert chars like carriage return in to strings in Labview 6.1 ?
Thanks
0 Kudos
Message 1 of 6
(5,002 Views)
Hi FischeFr,

You could use the Replace Substring function in the string pallette with a length of 0 this will then insert the caracter you want at the point in the input string determined by the offset input.

Hope this helps,

Nick
0 Kudos
Message 2 of 6
(5,002 Views)
thanks but that didn't answer my question.
Is there a possibility to to add control chars like ,, etc to strings. What I would like to know is if there is a possiblity to mask chars with it's ascii-code or special symbols like "/n" for newline in C and Java
0 Kudos
Message 3 of 6
(5,002 Views)
thanks but that didn't answer my question.
Is there a possibility to to add control chars like ,, etc to strings. What I would like to know is if there is a possiblity to mask chars with it's ascii-code or special symbols like "/n" for newline in C and Java
0 Kudos
Message 4 of 6
(5,002 Views)
THANKS, PROBLEM SOLVED!
0 Kudos
Message 5 of 6
(5,002 Views)
under the string subpallette you will have the ability to use constants for carriages return, tab, etc. Also when on the front panel you can right click on any text indicator or control and select Codes Display. This will allow you to see the /n's. Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 6 of 6
(5,002 Views)