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: 

Replace linefeed in string

Solved!
Go to solution

Is there an easy way to replace all linefeed's in a string?

0 Kudos
Message 1 of 5
(3,354 Views)

Yes, there is. It's called "Search and Replace String" and can be configured to replace all linefeeds in a single call.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(3,349 Views)

I'm trying to,  but do you really need to make a loop??

0 Kudos
Message 3 of 5
(3,346 Views)
Solution
Accepted by topic author mkoppelgaard

As i said, a single call will do. The function has a boolean input called "replace all?(F)"......

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 5
(3,343 Views)

Great Smiley Very Happy

0 Kudos
Message 5 of 5
(3,334 Views)