Probably is something really simple that I'm missing, but what's wrong with having a string going in multiple lines?
For instance, Ruby is:
text = <<END
Some
text
END
And Python is:
text = """
Some
text
"""
And C# is:
string text = @"
Some
Text";
Which come closer, but still needs the @ character.
What's wrong with using a single line like this:
text = "
Some
text
"
I think in this case, the string literal could end, where the (") appears alone, that way, if quotes are found in the way, they are ignored.
text = "
He said "This is cool"
But it wasn't , until "
" //<-- quote mark alone
What reason(s) are there to avoid having single quotes multi lines string literal in many programming languages, namely, Java, JavaScript, C#, C++, C, Ruby, Python?