Q:

check in string starts with ts


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

var n = str.startsWith("Hello"); // returns boolean
 
0

New to Communities?

Join the community