up previous next
4.3.4 Quotes Within Strings
Strings are delimited using double quotes (or single quotes, obsolescent). One may directly use quotes inside a string if they are not of the same type as the delimiters. To get quotes inside a string which are of the same type as the delimiters, the quotes must be doubled.

  Print "This string ""contains"" double quotes.";
This string "contains" double quotes.
  Print "This string ""contains"" quotes of 'various' styles.";
This string "contains" quotes of 'various' styles.
Imagine the difficulties in writing this section of the online manual within a CoCoA package. ;>