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

Name

Type

Data Type

Description

Result

*Result (Optional)

Unicode String

Result of after all characters have been removed

Object

*Input

Unicode String

Characters 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