Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

string.replace(String old, String new)

string.replace(String old, String new)

Creates a new string by replacing an existing sub-string with a 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 replacing the old sub-string.
Table 2. Returns
Type Description
String The string with the new sub-string.


    

This site is scheduled for a small content update on Tuesday, December 18th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 19 00:00 – Dec 19 4:00 UTC). Access to this site may be slightly delayed during that time.