@wtasnorg/node-lib / indexRuneString
indexRuneString(
s,r):number
Defined in: src/strings.ts:543
IndexRune returns the index of the first instance of the Unicode code point r in s, or -1 if r is not present in s.
string
Input string.
number
Unicode code point to find.
number
Index of first occurrence, or -1.