cafe icon indicating copy to clipboard operation
cafe copied to clipboard

String declaration doesn't escape characters using back slash.

Open dhyey-shah opened this issue 3 years ago • 0 comments

Input:

var x = "This is a cafe example.\nI am testing \"Strings\".";
cmd.println(x);

Output:

This is a cafe example.
I am testing Strings.

"" are not escaped/trimmed in the second line.

dhyey-shah avatar Mar 05 '21 11:03 dhyey-shah