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 1. StringIndexOf properties


PropertyValueDescription
Outtrue (default) or false and null definitionBoolean output indicates the result of the comparison.
In A and In Btext (defaults to blank) and null definitionDefine the two strings to compare.
From Indexinteger (defaults to 0)Defines the string from where to start the comparison.
Begin Indexinteger (defaults to 0)Defines which position in the string to start the comparison.
After Indexinteger (defaults to 0)Defines which position in the string to end the comparison.