string.indexOf()
Get the index of the first matching substring within a String.
Signature
indexOf(pattern: String) => Number | Null
indexOf(pattern: String, start: Number) => Number | Null
string.indexOf()
Get the index of the first matching substring within a String.
indexOf(pattern: String) => Number | Null
indexOf(pattern: String, start: Number) => Number | Null