LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make array from semikolon-separated text

Solved!
Go to solution

Hello,

i have a text with multiple lines. The lines are separated with \r\n.

In each line is the same number of values that are separated with semikolons ;

 

How can i (easy) make arrays of each value in a line?

Currently i solved it by creating a loop and using match-pattern, shift register, insert to array...... But this looks very big.

How can i make this easier?

 

Thanks for the help

0 Kudos
Message 1 of 4
(2,671 Views)

Hi OnlyOne,

you can use the "Spreadsheet String to Array" function.

 

Mike

Message 2 of 4
(2,670 Views)

How do i use this?

Attached my current version (LV 8.2)

0 Kudos
Message 3 of 4
(2,666 Views)
Solution
Accepted by topic author OnlyOne

Hi,

you have to define the seperator.

See the attached image.

 

Mike

Message 4 of 4
(2,664 Views)