String formats of the Format function

<< Click to Display Table of Contents >>

String formats of the Format function

When formatting strings, user-defined formats of the Format function can be composed of the following codes:

Character

Meaning

@

Outputs a character or a space character. The output is usually right-aligned (see, however, also the ! sign).

&

Outputs a character or nothing.

<

Output all characters in lowercase.

>

Output all characters in uppercase.

!

The exclamation point switches the output to left-aligned.