When comparing strings with the case structure, behavior at the time of the range specification is different from that of numeric type.
I have set a default case to case the other in the block diagram below.
If the default case, "B" is to be output.
You might think that it outputs the "A" none at first glance, but it will be "B" output of the block diagram of the second.
Block diagram
Output
This behavior is described in Help. It was also in the old version. It is probably specification.
It may be the reason for a bug if you write a program of string processing without knowing this specification.
I think that we should match the case, "c", which wrote "a" .. "c" in the case selector label.
Link:LabVIEW2013 Help - Entering Values for Each Case Structure Subdiagram
Quote:
String ranges A range of a..c includes all strings beginning with a or b, but not c. String ranges are case sensitive. For example, a range of A..c behaves differently than a..c because LabVIEW uses ASCII values to determine a string range.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.