Checking For A Sub String In Javascript All Possible Cases

Checking For A Sub String In Javascript All Possible Cases