SWAP Function

Replaces a substring with a new substring.

This function is provided for compatibility with other MultiValue systems.

Syntax

SWAP(old-string, old-substr, new-substr)

Syntax Elements

old-string is the original string.

old-substr is the substring in the original string to be changed.

new-substr is the replacement substring.

Comments

SWAP is identical in operation to the CHANGE function.