String Intrinsic Functions - RemoveAll Method

Remove all occurrences of the specified string from the source

Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)StringResulting value after all occurrences have been removed
Object*InputStringValue to be removed

Details

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

Example

In this example, if #String contained the value ?HABERDASHERY?, the result would be ?HABERERY?
#String := #String.RemoveAll( "DASH" )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2