Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular string contains

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

console.log(string.includes(substring));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #string
ADD COMMENT
Topic
Name
4+3 =