Searches for a string within a string, commencing at a specified offset. The result of the search is the index in the source string, where the first character of the sub-string is found. Index 0 is the first character in the string, index 1 is the second, and so on.
StrSearch(Offset, String, Substring)
The offset in the string, commencing at 0.
The source string.
The substring to search for.
The index in the search string, or -1 if the sub-string does not exist in the string.
! Sets Variable to 2.
! Sets Variable to -1.
! Sets Variable to 5.