String Intrinsic Functions - ReplaceAll Method

Replace all occurrences of the specified string in the source

Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)StringResulting value after all Objects have been replaced
Object*InputStringValue to be replaced
Replacement*InputStringValue to replace the specified Object value


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


In this example, if #String contained "ABC 123 XYZ" the result would be "ABC_123_XYZ"
#Com_owner.Caption := #String.ReplaceAll( " " "_" )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2