lastIndexOf w3schools code example Example: lastindexof javascript string.lastIndexOf(searchValue[, fromIndex])