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