Overview Module Function Class Tea 3.2.4 Reference Documentation
© 2009 PDM&FC

Function str-index-of

str-index-of aString1 aString2

Finds the index of the first occurence of a string inside another string.

Parameters:
aString1 - The string where the search for the aString2 will be performed.
aString2 - The string to be searched inside aString1.
Returns:
An integer representing the index of the first occurence of aString2 inside aString1, or -1 if aString1 does not contain aString2.


Overview Module Function Class Tea 3.2.4 Reference Documentation
© 2009 PDM&FC
Report a bug or request new features
© 2009