Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.indexof() in javascript

var str = "We got a poop cleanup on isle 4.";
var strPos = str.indexOf("5");//9
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
7+3 =