Home | Previous Page | Next Page   Introduction > Character-Representation Conventions >

Whitespace Characters in Strings

Whitespace is a series of one or more characters that display as blank space, Each GLS locale defines what characters are whitespace characters.

For example, both the TAB (ASCII 9) and blank space (ASCII 32) might be defined as whitespace characters in one locale, but certain combinations of the CTRL key and another character might be defined as whitespace characters in a different locale.

The convention for representing a single-byte whitespace in this manual is the letter "s". The following notation represents one single-byte whitespace:

s

In the ASCII code set, an example of a single-byte whitespace is the blank character (ASCII 32). To represent a string that consists of two ASCII blank characters, the manual uses the following notation:

ss

The following notation represents a multibyte whitespace character:

s1...sn

Here s1 represents the first byte of the whitespace character, and sn represents the last byte of the whitespace character, where n can range between two and four. The following notation represents one 4-byte whitespace character:

s1s2s3s4
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]