fork download
  1. set Z Albany
  2. set Z_LABEL "The Capitol of New York is: "
  3.  
  4. puts "\n................. examples of differences between \" and \{"
  5. puts "$Z_LABEL $Z"
  6. puts {$Z_LABEL $Z}
  7.  
  8. puts "\n....... examples of differences in nesting \{ and \" "
  9. puts "$Z_LABEL {$Z}"
  10. puts {Who said, "What this country needs is a good $Z cigar!"?}
  11.  
  12. puts "\n................. examples of escape strings"
  13. puts {There are no substitutions done within braces \n \r \x0a \f \v}
  14. puts {But, the escaped newline at the end of a\
  15. string is still evaluated as a space}
  16.  
Success #stdin #stdout 0.03s 5272KB
stdin
Standard input is empty
stdout
................. examples of differences between  " and {
The Capitol of New York is:  Albany
$Z_LABEL $Z

....... examples of differences in nesting { and " 
The Capitol of New York is:  {Albany}
Who said, "What this country needs is a good $Z cigar!"?

................. examples of escape strings
There are no substitutions done within braces \n \r \x0a \f \v
But, the escaped newline at the end of a string is still evaluated as a space