Returns the position of the first match of pattern in this string
pattern
int indexOf(Pattern pattern, [int start = 0]) { return value.indexOf(pattern, start); }