kitControl-StringIndexOf

This component compares two StatusString inputs (In A, In B), looking for an exact match of string In B within string In A. The object outputs a StatusBoolean result (true, false).

The StringIndexOf is available in the String folder of the kitControl palette.

Figure 98.   StringIndexOf 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.
From Index integer (defaults to 0) Defines the string from where to start the comparison.
Begin Index integer (defaults to 0) Defines which position in the string to start the comparison.
After Index integer (defaults to 0) Defines which position in the string to end the comparison.