check a substring exists in a string,without checking case in typescript code example
Example: js includes case insensitive
var passedinstring = localStorage.getItem("passedinstring").toLowerCase();
var passedinstring = localStorage.getItem("passedinstring").toLowerCase();