Skip to end of metadata
Go to start of metadata

Triple quoted strings in Boo are used to preserve spacing and linebreaks without a thick slathering of \n's all over your precious code.

It is good for visually representing XML, for instance:

It is also most excellent for formatting console output:

  • No labels

1 Comment

  1. It should be noted that string-escaping will not work within triple-quotes, like this page does: http://boo.codehaus.org/Part+02+-+Variables#Part02-Variables-CharactersandStrings