DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
find word in javascript string
var str = "This is a test sentence"; var hasTest = str.includes("test");
PREVIOUS
NEXT
Tagged:
#find
#word
#javascript
#string
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit