Groovy web console

subscribe to the feed Subscribe
to this
site

Multi-line string literal

Published 2 years ago by Anonymous
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def s = """\
    line 1
    line 2
    line 3""".stripIndent()