string.replace(String old, String new)

Creates a new string with the specified existing sub-string replaced with the specified new sub-string.

This method is available only in an Edge Encryption rule action script.

Table 1. Parameters
Name Type Description
old String The sub-string to be replaced
new String The sub-string replace the old sub-string
Table 2. Returns
Type Description
String The string with the specified sub-string replaced with the new sub-string.