{"ScriptPreparationCode":"var searchInMe = \u0027IstartwithIstartwithIstartwithIstartwithIstartwithIstartwithIstartwithIstartwithIstartwithIstartwithIstartwithIstartwith\u0027;\r\nvar searchInMe2 = \u0027InotstartwithInotstartwithInotstartwithInotstartwithInotstartwithInotstartwithInotstartwithInotstartwithInotstartwith11\u0027;\r\nvar searchForMe = \u0027Istartwith\u0027;\r\nvar searchForMeEr = /^Istartwith/;","TestCases":[{"Name":"startWith native","Code":"searchInMe.startsWith(searchForMe);\r\nsearchInMe2.startsWith(searchForMe);","IsDeferred":false},{"Name":"indexof","Code":"searchInMe.indexOf(searchForMe) === 0;\r\nsearchInMe2.indexOf(searchForMe) === 0;","IsDeferred":false},{"Name":"lastIndexOf","Code":"searchInMe.lastIndexOf(searchForMe, 0) === 0;\r\nsearchInMe2.lastIndexOf(searchForMe, 0) === 0;","IsDeferred":false},{"Name":"regex","Code":"searchForMeEr.test(searchInMe);\r\nsearchForMeEr.test(searchInMe2);","IsDeferred":false},{"Name":"substr","Code":"searchInMe.substr(0, searchForMe.length) === searchForMe;\r\nsearchInMe2.substr(0, searchForMe.length) === searchForMe;","IsDeferred":false}]}