kitControl-StringIndexOf

 StringIndexOf compares two StatusString inputs (InA, InB), looking for an exact match of string InB within string InA. The object outputs a StatusBoolean result (true, false), as well as “begin” and “after” index character positions. Three properties are integer types: FromIndex, BeginIndex, and AfterIndex. The object works as follows:

inputs: InA, InB, FromIndex

outputs: Out, BeginIndex, AfterIndex

The object tests an exact match of string InB within string InA starting at character position FromIndex within string InA.

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

See also Alphabetical list of kitControl components