Skip to main content
Version: 10.1

USFormat.CharAddIOFormat

note

This article is about the CharAddIOFormat method of the USFormat internal component.

USFormat.CharAddIOFormat

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 IO formats for string values.

Example

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

The return value of this statement is the string value:

YES/NO