js get index of string in a string code example Example: js indexof string str.indexOf(searchValue[, fromIndex])