Character String Constants
- Updated2024-09-12
- 1 minute(s) read
Constants > Character String Constants
Character String Constants
These constants are integrated in VBS and need not be defined before use. Use these constants anywhere in your script to represent the displayed values.
| Constant | Value | Description |
| vbCr | Chr(13) | Carriage return |
| vbCrLf | Chr(13)&Chr(10) | Carriage return - line feed |
| vbFormFeed | Chr(12) | Form feed |
| vbLf | Chr(10) | Line feed |
| vbNewLine | Chr(13)&Chr(10) or Chr(10) | Platform-specific line feed character For Windows, the new line character is Chr(13) & Chr(10). |
| vbNullChar | Chr(0) | Character with the value 0 |
| vbNullString | Character string with the length null | Does not correspond to a character string with the length null (""). |
| vbTab | Chr(9) | Horizontal tabulator |
| vbVerticalTab | Chr(11) | Vertical tabulator (not advisable with Microsoft Windows) |