LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i convert a double array (with spaces and tabs) to a string?

Hi

In our files, we have a mixture of spaces and tabs as a delimeter. How do I convert a double array into a string?

Thank you.
0 Kudos
Message 1 of 3
(2,263 Views)
Hi,
If you are looking at converting a double array in to a string array {what i got from your question},then labview has built in functions to convert numbers to strings and strings to numbers,you can find them in the strings palette.
Next to change the delimiters you can make use of the search and replace functions in the string palette for it.
hope it helps
cheers
vicky
0 Kudos
Message 2 of 3
(2,259 Views)
Not sure about the last part of your question.
The Search and Replace pattern can be better than the simple Search and Replace string when you have to do complex searchs, such as detecting multiple spaces.
Have a look at the attachment.

CC
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
0 Kudos
Message 3 of 3
(2,253 Views)