NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax for trim Line Feed

Team,

I have an long text with Line Feed and used "Split" Function with "\n" as delimiter  and i am getting array of splitted array with Line feed in each element.

 

How to trim line feed character?

 

Tried using Trim Function but no luck.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 2
(718 Views)

SearchAndReplace(Locals.String, "\r", "", 0, False, -1, False),
SearchAndReplace(Locals.String, "\n", "", 0, False, -1, False)

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(632 Views)