up previous next
4.3.1 Introduction to Strings
A string constant consists of a sequence of characters between double quotes (" "). For backward compatibility also single quotes (' ') are allowed, but this syntax is now obsolescent.

  Print "This is a string.";
This is a string.
  'So is this.'  -- obsolescent
So is this.
One may not, however, start a string with a single quote and end with a double quote, or vice versa.