Answers for "match substring js"

8

match substring js

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

console.log(string.includes(substring));
Posted by: Guest on March-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language