09-22-2011 04:28 PM
I apologize for posting yet another trivial question about splitting strings. I read through many suggestions for this, and didn't see
a general answer.
String: asd_dw_22_Lx-2.gm
How do I split this into asd, dw, 22, Lx-2.gm (clearly the desired string components are those elements separated by "_").
The output should not be a specific component, but any number of components. I imagine a VI that takes the above string
as input, and knows the delimeter is an underscore, and outputs asd, 22, Lx-2.gm.
Now, what if the separator is a dot, a tab, a space, etc. Is there a VI that takes an input string, a separator (defined by the user),
and spits out anything it finds between the defined separators?
Solved! Go to Solution.
09-22-2011 04:32 PM - edited 09-22-2011 04:32 PM
Yes. Spreadsheet String to Array.
09-22-2011 04:53 PM
Thanks!
How do I wire a constant string array to the array type.
When I right-click and create a constant, it is of type 2D double. I can easily change
it to 1D, but how do I change that to a string type?
09-22-2011 05:03 PM
Got it!
Thank you very much