{"ScriptPreparationCode":"function cap1(str) {\r\n return str.replace(/^./, i =\u003E i.toUpperCase());\r\n}\r\nfunction cap2(str) {\r\n return str[0].toUpperCase \u002B str.slice(1);\r\n}","TestCases":[{"Name":"slice","Code":"cap1(\u0022the first letter of this string needs to be capitalized.\u0022)","IsDeferred":false},{"Name":"regex","Code":"cap2(\u0022the first letter of this string needs to be capitalized.\u0022)","IsDeferred":false}]}