Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

VueJS - check strings is includes in vuejs

const string = "foo";
const substring = "oo";

console.log(string.includes(substring)); // true
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #VueJS #check #strings #includes #vuejs
ADD COMMENT
Topic
Name
3+5 =