10 6 51 ReplaceAll

LANSA Technical

10.6.51 ReplaceAll

ReplaceAll replaces all instances of the value specified in the Object parameter with the value specified in the Replacement parameter.

Input Parameters

Object – Value to be replaced

Replacement – Value to be used in place of the Object parameter value

Example

Replace all spaces in #string with an underscore

#Com_owner.Caption := #String.ReplaceAll( " " "_" )

 

 Ý 10.6 Alphanumeric/String Intrinsic Functions