DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+7 =
Submit