LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Separate string in an array of 2d

Solved!
Go to solution

Hi, I have a STRING message and I need to converse in a 2d array, using the = as separator (variable = value). Below is what I have:

String originalString originalVIVIconverted stringconverted string

 

0 Kudos
Message 1 of 3
(2,243 Views)

Hi Rafael,

 

replace all tabulators by linefeeds.

Then call SpreadsheetStringToArray with "=" as separator, and change the array constant to a 2D array!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,240 Views)
Solution
Accepted by topic author rafael.assis16

And just to show what GerdW was saying...

The two functions there are Search And Replace String and Spreadsheet String To Array.


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
(2,235 Views)