.delete and .replace Macros

These macros delete or replace all instances of the given string in the text input.

.delete (string)
	block-input
.enddelete
.replace (string,new-string)
	block-input
.endreplace

The following parameters are available:

Parameter

Description

string

Specifies the string to be deleted.

Type: Text

new-string

[.replace only] Specifies the string with which to replace string.

Type: Text

block-input

Specifies the text to be parsed for instances of the string to delete or replace.

Type: Complex template

Examples Result
.delete(Get)
	GetCustomerName
.enddelete
CustomerName
.replace(Get,Set)
GetCustomerName
.endreplace
SetCustomerName
.replace(" ", _)
Customer Name
.endreplace
Customer_Name