Text Formats
The 'Text' format allows you to add a prefix or suffix to string data. The special tag '{0}' acts as a placeholder for the actual data.
Example 1: Adding a Prefix
Consider a text column containing the following values:
Annie
Eric
Robert
Sue
The text format “Employee name: {0}” will display these values as follows:
Employee Name: Annie
Employee Name: Eric
Employee Name: Robert
Employee Name: Annie
Example 2: Adding a Prefix and Suffix
Consider a text column containing the following values:
NJ
NY
CA
AZ
The text format “-{0}-” will display these values as follows:
-NJ-
-NY-
-CA-
-AZ-
Localizing a Text Format
To apply localization within a text format, use a string identifier in curly braces within the text format. The identifier in curly braces is used as a Text ID to locate the corresponding replacement text (usually a translation into another language) within the SreeBundle localization file. For example, the string “{replacementText}” within a text format will use “replacementText” as the Text ID.
For information on how to map Text IDs to replacement text in the SreeBundle localization file, see Localizing Reports, Viewsheets, Data Models/Queries in Administration Reference.
| << Date and Time Formats | © 1996-2013 InetSoft Technology Corporation (v11.5) | Number Formats >> |