User | Kudos |
---|---|
11 | |
8 | |
3 | |
3 | |
2 |
Every time I want to use the Pick Like String Function, its becuase I want to process a string line by line.
However its usage is limited by the fact that it does not have a boolean output that goes true on the last line of the string.
This would make it easier to use in a while loop for instance, where the last line can terminate the loop.
If going past the end of string, it returns an empy string - same as an empty line....
Making the input string a unique string not seen in the file e.g "<EOF>" also doesn't help if a line is empty.
P.S. Documentation is not clear if the picked line includes the end of line character(s).... It doesn't.
So I try to use Pick Line, realise (again) its drawback and then have to think of an alternative... which is easy enough as there are many ways to do it... but my inital thought was not match the end of line character and split the string...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Declined for reasons listed here: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Pick-Line-String-Function-needs-to-return-a-True-on-La...