kitControl-StringTest

This component compares two StatusString values (In A and In B) and outputs a StatusBoolean Out (true/false) result.

StringTest is available in the String folder of the kitControl palette

Test Selection property choices are:

  • aEqualsB
  • aEqualsBIgnoreCase
  • aStartsWithB
  • aEndsWithB
  • aContainsB
Figure 101.   StringTest properties
Image
Property Value Description
Out true (default) or false and null definition Boolean output indicates the result of the comparison.
In A and In B text (defaults to blank) and null definition Define the two strings to compare.
Test Select drop-down list Identifies the test to perform on In A:

aEqualsB compares In A with In B taking case into consideration.

AEqualsBIgnoreCase compares with In B ignoring case.

aStartsWithB tests to see if In A includes In B beginning at the first position.

aEndsWithB tests to see if In A includes In B beginning at the last position.

aContainsB tests to see if In A includes In B anywhere within In A.