LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scan string for tokens


@James.M wrote:

Spreadsheet string to array.

 

This will result in an array of the different lines that you can then iterate through in a For loop or something.

 

To elaborate, the Scan String for Tokens VI is the most similar to "strtok", but iterating through the same string over and over isn't really the most efficient way to do it. The Spreadsheet String to Array VI uses a specific delimiter (that doesn't change from token to token) and parses the string in to an array that is split using that delimiter.


I think this is something in LabVIEW that you have to etiher see someone do it, or have it explained to you.  I, for example, learned it from this very forum.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 11 of 11
(649 Views)