10 6 47 RemoveAll

LANSA Technical

10.6.47 RemoveAll

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.

Input Parameters

Object – String to be removed from the subject

Example

In this example, if #String contained the value "HABERDASHERY", the result would be "HABERERY"

#String := #String.RemoveAll( "DASH" )

 

 Ý 10.6 Alphanumeric/String Intrinsic Functions