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: 

string to array

Hi!

I have a string that is separated in some parts with "\" caracter. I want to convert this string to a array of element, like this:

car\bus\ship

Into a array like this:
[0] = car
[1] = bus
[2] = ship

It is a very simple operation to do in another languages, but I am in troble when I try to do it in labview. How can I solve it?

Thank you in advance.
0 Kudos
Message 1 of 2
(2,706 Views)


@gborges wrote:
Hi!

... How can I solve it?


One way is to use Spreadsheet String to Array with "\" as the delimiter.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 2 of 2
(2,692 Views)