The output text of a substitution can be processed according to your specifications to render data in the desired format. For example, a date with raw input data 2008-06-19 can be formatted as:
Thursday, June 19, 2008.Date, time, date-time, numeric (integer, decimal, currency, percentage), and text data can be formatted.
Note: StoryTeller only parses standard forms of data. Any non-standard data must be converted to standard form by applying a parsing mask in the Event tool, e.g. StreamIN.A set of predefined output formats are available. You can also create custom formats with an optional language code for the substitution. You can also set a variable on the format property for the substitution, to dynamically manage which output format to use for a specific substitution during runtime.
Example 58 Input value: 13:30:15Format: HH:MM A ZOutput value: "13:30 PM EDT"
Example 59 Input value: 2008-05-30Format: date(es){EEEE, D 'de' MMMM 'de' YYYY}Output value: "Viernes, 30 de mayo de 2008"
| OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |