On Tue, 4 Oct 2022 21:59:14 GMT, Mark Powers <mpow...@openjdk.org> wrote:
>> This looks like a good candidate for Text Blocks: >> https://openjdk.org/jeps/378 > > String a = """ > xxx > yyy > """; > > > is not the same as > > > String a = > "xxx" + > "yyy" > ; > > `a` contains an embedded newline; `b` does not. @mcpowers the idea would be to use String a = """ xxx\ yyy\ """; ------------- PR: https://git.openjdk.org/jdk/pull/10206