String Resource File Format
- Updated2025-07-23
- 1 minute(s) read
String resource files must use the .ini file extension and use the following format:
[category1] tag1 = "string value 1" tag2 = "string value 2"
[category2] tag1 = "string value 1" tag2 = "string value 2"
When you create new entries in a string resource file or create a string resource file for custom components, use unique category names to avoid conflicts with the default names TestStand uses. For example, begin new category names with a unique ID, such as a company prefix.
You can create an unlimited number of categories and tag names. You can create strings of unlimited size, but you must break a string with more than 512 characters into multiple lines. Each line includes a LineNNNN tag suffix, where NNNN is the line number with zero padding, as shown in the following example:
[category1] tag1 Line0001 = "This is the first sentence of a long " tag1 Line0002 = "paragraph. This is the second sentence."
You can use the escape codes in the following table to insert unprintable characters.
| Escape Code | Description |
|---|---|
| \n | Embedded linefeed character. |
| \r | Carriage return character. |
| \t | Tab character. |
| \xnn | Hexadecimal value that represents the character. For example, \x1B represents the ASCII ESC character. |
| \\ | Backslash character. |
| \" | Double quotation mark. |