Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check for substring javascript

const string = "javascript";
const substring = "script";

console.log(string.includes(substring));  //true
 
PREVIOUS NEXT
Tagged: #check #substring #javascript
ADD COMMENT
Topic
Name
3+5 =