$str.indexOf
Get the index of the first occurrence of the specified value.
Syntax:
$str.indexOf( string, part ) $str.indexOf( string, part, fromIndex )
Parameters:
part – the string to search for
fromIndex – the index from which to start the search
Returns:
the index of the first occurrence of the specified value.
Version Since:
3.6
Example:
$str.indexOf( $getUri(From), "@" )
Get the index of @ in From-URI