Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

search string javascript

"I love cats".indexOf("cat") //returns 7, the position of "cat"
Source by flaviocopes.com #
 
PREVIOUS NEXT
Tagged: #search #string #javascript
ADD COMMENT
Topic
Name
1+9 =