can you use indexOf on a string in javascript code example Example: js indexof string str.indexOf(searchValue[, fromIndex])