Unicode Intrinsic Functions - Replace Method
Replace the specified string
Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)
| Name | Type | Data Type | Description |
|---|---|---|---|
| Result | *Result (Optional) | Unicode String | Resulting value after the object has been replaced |
| Object | *Input | Unicode String | Value to be replaced |
| Replacement | *Input | Unicode String | Value to replace the specified Object value |
Replace replaces the first instance of the value specified in the Object parameter with the value specified in the Replacement parameter.
In this example, if #String contained "ABC 123" the result would be "ABC_123""
#Com_owner.Caption := #String.Replace( " " "_" )
LANSA Version 15, April 2020