Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js string contains

'Bandeira do Brasil'.includes('brasil'); // returns false
'Bandeira do Brasil'.includes('Brasil'); // returns true
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #string
ADD COMMENT
Topic
Name
6+7 =