Cold Help System: Programming: ColdC Reference Manual: Language Structure: Data Types: String


A string is a sequence of printable characters. A string is logically true if it is not empty. A string is denoted in ColdC by enclosing the printable characters within double quote characters ("). To include a double quote inside a string precede it with a backslash. Any other occurance of a backslash in a string has no special meaning, unless it follows another backslash (at which point it is assumed to be escaping itself, and reduces as appropriate). The following are some examples of strings:

"foo"
"\"foo\" is a metasyntactic variable."
"The backslash (`\') is a much-abused character in many languages."

See Also: String Functions


Integer | Float | String | Symbol | List | Object Number | Dictionary | Error Codes | Frob | Buffer


the Cold Dark