StringValue Test
Answereddoes the StringValueTest only work on an EQ comparison operator ? or can it also work on NE, would be nice to have a StringValueTest that could work on simple regular expressions as well.
-
Official comment
The StringValueTest can have the following Comparion Operators:
- IGNORECASE: checks if Equal while ignoring case
- CASESENSIT: checks if Equal while case sensitive
- EQ: Equal
- NE: not Equal
- GT: greater than, using String.CompareTo-method
- LT: less than, using String.CompareTo-method
- GE: greater than or equal using String.CompareTo-method
- LE: less than or equal using String.CompareTo-method.
- LOG: No comparison
We will note the suggestion about Regular Expressions.
Comment actions -
Thanks for that info very usefull. Might be a good idea to add this to
https://virinco.zendesk.com/hc/en-us/articles/207424473-Comparison-Operators
For myself I have add in my own
GELE -- LabVIEW Match pattern == true
--- so Pattern = mas string Christmas TRUE
LTGT -- LabVIEW Match pattern == true
--- so Pattern = mas string Easter TRUE
Please sign in to leave a comment.
Comments
2 comments