Main Index : Reference :

[string]


Definition

The string type in C.O.F.F.E.E. is an array of 16-bit Unicode characters.

Cast

Strings can be defined by assigning text within quotes to a variable: str1 = "Hello World!", or with the new() function: var str2 = new(string,12). To create a string from another variable, use the tostring() function.

Usage

The individual characters in a string can be accessed with the array operator, [].

See Also

typeof(), stradd(), strins(), strmid(), strset(), strstr(), strchr(), strcmp(), tostring()