Suggestions to triple quoted strings proposal

Peter Hall peterjoel at
Tue Dec 12 14:06:36 PST 2006

Another quick comment. With the addition of E4X, you can use
triple-nested multiline strings with this slightly mucky workaround:

		var q:String = <>
		"Som'e' "
		multiline text

In the AS3 implementation, this is equivalent to:

var q:String = "\"Som'e' \"\n\t\t'mult'iline text";

Which is interesting for comparison, as it ignores all leading but not
subsequent white.


More information about the Es4-discuss mailing list