Compatible Unicode Intrinsic Functions - RemoveCharacters Method

Remove all occurrences of the specified characters from the source

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)Unicode StringResult of after all characters have been removed
Object*InputUnicode StringCharacters to be removed

Details

RemoveCharacters removes all occurrences of the characters supplied in the Object parameter.  This is similar to the RemoveAll intrinsic, except that RemoveCharacters searches the subject string for individual characters rather than instances of the entire search string.
 
RemoveCharacters is case sensitive.

Example

In this example, if #String contained the value ?ADACABA?, the result would be ?DCB?
#String := #String.RemoveCharacters("A")

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2