Formatting Strings

You have five characters with which to build user-defined strings using the Format function. Each format character seen in Table 5.5 must be enclosed in quotes when passed as a format expression argument in the Format function.

Format Character

Table 5.5 String Formats


Displays a character or space as a placeholder Displays a character or nothing as a placeholder Formats all characters in lowercase Formats all characters in uppercase Placeholders are filled left to right

0 0

Post a comment