USFormat.CharAddIOFormat

Previous Next

Formats a string using a string IO format pattern.

Returns the result of the operation as a string.

Syntax

SELECT USFormat.CharAddIOFormat(
       string
,      string-io-format-pattern
)

 

Both string and string-io-format-pattern are required. String-io-format-pattern must be one of the USoft format patterns for string values.

Example

SELECT USFormat.CharAddIOFormat(
       'YESNO'
,      'XXX/XX'
)

The return value of this statement is the string value:

YES/NO