Processing math: 100%

CHR_RMCHR

Remove all specified characters from a string

Description:

Remove a specified set of characters from a string in situ. The remaining characters are moved to the left to eliminate the resulting empty space, and the end of the string is filled with blanks.

Invocation

CALL CHR_RMCHR( CHARS, STRING )

Arguments

CHARS = CHARACTER ( ) (Given)
A string specifying all the characters which are to be removed.
STRING = CHARACTER ( ) (Given and Returned)
The string from which the characters are removed.