String Intrinsic Functions - RemoveAll Method
Remove all occurrences of the specified string from the source
Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Result | *Result (Optional) | String | Resulting value after all occurrences have been removed |
Object | *Input | String | Value 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" )