Report Designer Reference Manual

Purpose:

Searches a string for the appearance of a search string and replaces it with the string contained in the third parameter (replacement string). If no third parameter is used, the string located using the search string will be deleted.

Parameter:

String             String to check

String             Search string

String             (optional) Replacement string

Return value:

String

Example:

ReplaceChr$("Hello World","o","_")  Result: Hell_ W_rld"