InstrMBS(text as string, search as string) as integer
Returns the position of the first occurrence of the search string inside the source string. Returns -1 if text is not found. Returns 1 if the string starts with the search string.
select InstrMBS("Hello World. World.", "World")
Back to function list.
MBS Xojo blog