You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

String Intrinsic Functions - ReplaceAll Method
Replace all occurrences of the specified string in the source
Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

String

Resulting value after all Objects have been replaced

Object

*Input

String

Value to be replaced

Replacement

*Input

String

Value to replace the specified Object value

Details


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

Example


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

  • No labels