ReplaceStr$

Purpose:

Replaces characters in the string of the first argument. If there is no third argument, the string corresponding to the second argument is simply deleted.

Parameter:

String          String to check

String          String that should be replaced

String          (optional) String for substitution

Return value:

String

Example:

ReplaceStr$("Hello World","ll","nn")          Result: "Henno World"