TextIndexOf(Text) Method

Returns the index of the first occurrence of the textToLookFor

Definition

Namespace: Firefly.Box
Assembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
C#
public int IndexOf(
	Text textToLookFor
)

Parameters

textToLookFor  Text
The text to look for

Return Value

Int32
the index of the first occurrence of the textToLookFor

Remarks

If no value is found -1 is returned

See Also