Which one of the following functions in javascript finds the last occurrence of a string, returning its numerical position? code example
Example: find the last occurrence of a character in a string javascript
str.lastIndexOf(searchValue[, fromIndex])