{"ScriptPreparationCode":"var s1 = \u0022foo bar test hello goodbye george sally blue\u0022;\r\nvar s2 = \u0022stuff shoes charge top bottom pink salt\u0022;","TestCases":[{"Name":"Split","Code":"var n1 = s1.split(\u0022 \u0022);\r\nvar n2 = s2.split(\u0022 \u0022);","IsDeferred":false},{"Name":"Substring","Code":"function fastSplit(string) {\r\n let result = [];\r\n let startingIndex = 0;\r\n\r\n for (var i = 0; i \u003C string.length; i\u002B\u002B) {\r\n if (string[i] === \u0022 \u0022) {\r\n result.push(string.substring(startingIndex, i).trim());\r\n startingIndex = i;\r\n }\r\n }\r\n\r\n return result;\r\n}\r\n\r\nvar n1 = fastSplit(s1);\r\nvar n2 = fastSplit(s2);","IsDeferred":false}]}