Previous Up Next

strfind
Search the _pattern_ string in _text_ from the _position_ (the first character is in position 0). Returns nil if the string is not found, or the position at which the string was found.

I strfind (
S _pattern_
S _text_
I _position_
)
Parameters

_pattern_
pattern to search
_text_
text
_position_
any integer
Return value

result position (nil if not found)