Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Ruby
s = "Spanning
string
works"
s = <<EOS
This is a
multi-line string.
We call it a "heredoc"
EOS

The EOS is the delimiter. It may exist in the body of the text.

There is also a _- and _~ form that can be used for different layout of the code. See the documentation for more information.
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...