{"ScriptPreparationCode":"var s1 = \u0022foo|bar|test\u0022;","TestCases":[{"Name":"Array.split","Code":"var n1 = s1.split(\u0027|\u0027);\r\nconsole.log(n1[0])","IsDeferred":false},{"Name":"Substring","Code":"var pip = s1.indexOf(\u0027|\u0027);\r\nconsole.log(s1.substring(0, pip));","IsDeferred":false}]}