Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$INVERT^XLFSTR(): Invert String

Reference Type: Supported, Category: String Functions, ICR#: 10104

Description

The $$INVERT^XLFSTR extrinsic function returns an inverted string. It inverts the order of the characters in a string.

Format

  $$INVERT^XLFSTR(x)

Input Parameters

x:

(required) Character string.

Output

returns:

Returns the inverted string.

Example

>S X=$$INVERT^XLFSTR("ABC")

>W X
CBA