DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
search inside a string javascript
var string = "Hello world!"; var n = string.search("w"); //now n equals 6
PREVIOUS
NEXT
Tagged:
#search
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit