/
matchStart
matchStart
Description
Returns the position where the match starts or -1 if it doesn't match.
Parameters
Return Type
Number
Example
wret = matchStart("This will return ?", "will.*");
print("Return " + wret);
Matches the string starting with will and will return 5 (the position of w character).
For more information on regular expressions, see Oracle documentation.
See also
Related content
indexOf
indexOf
Read with this
matchStart
matchStart
More like this
chop
Read with this
matchStart
matchStart
More like this
split
Read with this
matchEnd
matchEnd
More like this