Answers for "typescript string contains"

3

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 string contains"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language