Logo

Programming-Idioms

  • C++
  • C
char *s = "Huey\n"
          "Dewey\n"
          "Louie";
#include <string>
std::string s = R"( Earth is a planet.
So is the Jupiter)";

Use raw string literals
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...