A string is a piece of text, a sequence of characters. Strings are specified by using single or double quotes:

 "one string"
 'another one'

Double-quoted strings allow using the "\" to insert special characters, single-quoted strings do not.

  • \n inserts a newline character
  • \" inserts a double-quote
  • \\ inserts a backslash

In PCC 1.x, strings are limited to 255 characters. PCC2 has no such limit.

In PCC2 since 1.99.12, strings store Unicode characters. In previous versions, strings hold the extended ASCII set used as the game character set. For external data, this restriction still holds; characters not in the game character set are removed because they cannot be stored.

Commands and Functions taking Str as Parameter

Functions returning Str

Properties of type Str

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.