{"ScriptPreparationCode":"var str = \u0022I am the god of hellfire, and I bring you_01\u0022\r\nvar str1 = \u0022ayou_01\u0022\r\nvar str2 = \u0022tesaasyou_01\u0022\r\nvar str3 = \u00221_01\u0022\r\n","TestCases":[{"Name":"substring","Code":"const test = str.substring( 0 ,str.indexOf(\u0027_\u0027));\r\nconst test1 = str1.substring( 0 ,str.indexOf(\u0027_\u0027));\r\nconst test2 = str2.substring( 0 ,str.indexOf(\u0027_\u0027));\r\nconst test3 = str3.substring( 0 ,str.indexOf(\u0027_\u0027));","IsDeferred":false},{"Name":"split splice","Code":"const test = str.split(\u0027_\u0027).splice(0,1)[0];\r\nconst test1 = str1.split(\u0027_\u0027).splice(0,1)[0];\r\nconst test2 = str2.split(\u0027_\u0027).splice(0,1)[0];\r\nconst test3 = str3.split(\u0027_\u0027).splice(0,1)[0];","IsDeferred":false},{"Name":"split [0]","Code":"const test = str.split(\u0027_\u0027)[0];\r\nconst test1 = str1.split(\u0027_\u0027)[0];\r\nconst test2 = str2.split(\u0027_\u0027)[0];\r\nconst test3 = str3.split(\u0027_\u0027)[0];","IsDeferred":false},{"Name":"match","Code":"const test = str.match(/([\\s\\S]*)_/)[1];\r\nconst test1 = str1.match(/([\\s\\S]*)_/)[1];\r\nconst test2 = str2.match(/([\\s\\S]*)_/)[1];\r\nconst test3 = str3.match(/([\\s\\S]*)_/)[1];","IsDeferred":false}]}