You are here: Building Expressions > Character Strings > Character Comparisons

Character Comparisons

When you compare two character strings of different lengths, Analyzer uses the shortest string to do the comparison. For example, “AB” is considered to be equal to “ABC” and “ABLMNOP”.

You can change this behavior by setting the Exact Character Comparisons preference. Select Tools from the menu and choose Options. Click the [Table Options] tab and check the Exact Character Comparisons checkbox. In command mode, use the Set Exact command.

For more information, see Exact Character Comparisons and Set with Preference Equivalents.