@wtasnorg/node-lib / lastIndexString
lastIndexString(
s,substr):number
Defined in: src/strings.ts:568
LastIndex returns the index of the last instance of substr in s, or -1 if substr is not present in s.
string
Input string.
string
Substring to find.
number
Index of last occurrence, or -1.