{"ScriptPreparationCode":"var dates = [\r\n\t\u002201-12-2019\u0022,\r\n\t\u002211-11-2064\u0022,\r\n\t\u002207-03-2032\u0022,\r\n\t\u002208-08-2002\u0022,\r\n\t\u002208-01-2001\u0022,\r\n\t\u002222-12-2018\u0022,\r\n\t\u002228-02-2022\u0022,\r\n];","TestCases":[{"Name":"Split","Code":"for(let i=0; i\u003Cdates.length; i\u002B\u002B) {\r\n\tlet date = dates[i].split(\u0022-\u0022);\r\n \tlet dateString = date[2]\u002B\u0022-\u0022\u002Bdate[1]\u002B\u0022-\u0022\u002Bdate[0];\r\n}","IsDeferred":false},{"Name":"Substring","Code":"for(let i=0; i\u003Cdates.length; i\u002B\u002B) {\r\n \tlet dateString = dates[i].substr(6,4)\u002B\u0022-\u0022\u002Bdates[i].substr(4,2)\u002B\u0022-\u0022\u002Bdates[i].substr(0,2);\r\n}","IsDeferred":false}]}