{"ScriptPreparationCode":null,"TestCases":[{"Name":"substr index access","Code":"let matchstring = \u0027?really just a string/\u0027;\r\nlet lastChar = matchstring[matchstring.length -1];\r\nif (lastChar === \u0027/\u0027) {\r\n let result = matchstring.substring(0, -1); \r\n}","IsDeferred":false},{"Name":"substr charAt access","Code":"let matchstring = \u0027?really just a string/\u0027;\r\nlet lastChar = matchstring.charAt(-1);\r\nif (lastChar === \u0027/\u0027) {\r\n let result = matchstring.substring(0, -1); \r\n}","IsDeferred":false},{"Name":"slice index","Code":"let matchstring = \u0027?really just a string/\u0027;\r\nlet lastChar = matchstring[matchstring.length -1];\r\nif (lastChar === \u0027/\u0027) {\r\n let result = matchstring.slice(0, -1); \r\n}","IsDeferred":false},{"Name":"slice charat","Code":"let matchstring = \u0027?really just a string/\u0027;\r\nlet lastChar = matchstring.charAt(-1);\r\nif (lastChar === \u0027/\u0027) {\r\n let result = matchstring.slice(0, -1); \r\n}","IsDeferred":false},{"Name":"replace","Code":"let matchstring = \u0027?really just a string/\u0027;\r\nlet result = matchstring.replace(/\\/\u002B$/, \u0027\u0027);","IsDeferred":false}]}