Answers for "includes typescript string"

2

typescript string contains

const test = 'Hello World';
if (test.includes('World')) { 
  // Found world
}
Posted by: Guest on May-28-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language