Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Groovy
def s = """\
	line 1
	line 2
	line 3""".stripIndent()

Removes prefixing spaces
def s = """line 1
line 2
line 3"""
s : String := "Will this compile? " &
     "Oh yes it will";

I'm assuming this is what is meant by "consisting in several lines of text."

Use New_Line for line feeds.

New implementation...