LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a comma to the end of a line

I have this string; it is one string:

2, 0, 0, 4, 0
11, 63, 24, 28

 

How do I make this into one string like so?

2, 0, 0, 4, 0, 11, 63, 24, 28

 

Thanks.

0 Kudos
Message 1 of 3
(363 Views)
You can use "search and replace string". Replace your new line white space (probably "\r\n" or "\n") with a ",\s" (comma followed by space).
0 Kudos
Message 2 of 3
(356 Views)

Use Search And Replace String.  Set the search string to be the end of line and the replacement string a comma.


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 3 of 3
(354 Views)