Category: Strings
StrPos(text As String, searchFor As String)
StrPos(text As String, searchFor As String, caseSensitive As Boolean)
Integer
Searches for the first occurrence of searchFor within text.
The returned position is zero-based. Returns -1 when no match is found.
The optional caseSensitive parameter defaults to False.
index = StrPos("LunarBasic", "basic")
strictIndex = StrPos("LunarBasic", "basic", True)