String Intrinsic Functions - RemoveAll Method

Remove all occurrences of the specified string from the source

Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)


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


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.


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