function strpos

Returns the position of a substring within a string, or -1 if the substring does not occur. If the first argument is a string array, a matrix with the same number of elements as the string is returned.

Syntax
result = strpos(X, Y)

Arguments
X:   A string or a string array
Y:   The substring to be searched for


Switches
/nocase:   The search is done case-insensitive