DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check if string contains substring javascript
const string = "javascript"; const substring = "script"; console.log(string.includes(substring));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#string
#substring
#javascript
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit