lastIndexOf function
- Arguments
- 1–2, Optional arguments are indicated by a ? following the argument name.
- Return values (number)
- A number indicating the position of the last occurrence of
search string.
- Syntax
str.lastIndexOf()search string
- Examples