{"ScriptPreparationCode":"function doReplace(str) {\r\n return str = str.substring(0, str.length - 3);\r\n}","TestCases":[{"Name":"doReplace","Code":"var str = doReplace(\u0027https://google.com/to\u0027)","IsDeferred":false},{"Name":"replace","Code":"var str1 = \u0027https://google.com/\u0027.replace(\u0027/to\u0027)","IsDeferred":false}]}