06-07-2011 02:36 PM
I have a string that comes in from an external instrument. When it is read, it appears in a format like this:
"10.55
11.25
13.43
15.68"
The number of entries varies. I need to get this string into a comma separated string that is later concatenated with another string then written to a csv file.
So how do i get the above entry into this: "10.55, 11.25, 13.43, 15.68" ?
Thanks
Solved! Go to Solution.
06-07-2011 03:01 PM
Find out what end of line character is being used (\r, \n or \r\n) and simply use the search and replace VI to replace all instances of the EOL with a comma.
06-07-2011 03:02 PM
There are lots of ways. I would use search and replace. See attachemt for an example.
06-07-2011 03:15 PM
You guys beat me to the answer