boutique replica bags up ideas

the best replique rolex and prices here.

julia highlight 99j hair color 10a quality straight human hair lace front wigs 8 - 24 inches pre plucked hairline 13x4 inches lace front brazilian wig onlinefor sale

Check if string contains a substring in JavaScript?

Updated on     Kisan Patel

How to Check if string contains a substring in JavaScript?
javascript string contains

Solution 1:

var string = "foo",
    substring = "oo";

console.log(string.includes(substring));

Solution 2:

var str = "Hello world, welcome to the universe.";

var n = str.includes("world");

JavaScript

Leave a Reply