Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Elixir
s = "Spanning
string
works"
s = ~S"""
This will print multiline
and escape char like \G
"""

s = """
multiline
heredoc
"""

Triple-quotes starts a heredoc.
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...