It's often super annoying to create large multi-line strings in languages like Java that rely on concatenation to achieve this. I'd like something like:
var s =
"""
This is some long multi-line string
that's spread
on many lines
""";
print(s);
printing that thing should result in multi-line output.
It's often super annoying to create large multi-line strings in languages like Java that rely on concatenation to achieve this. I'd like something like:
printing that thing should result in multi-line output.