Replaces a substring in a given string.
|
Syntax |
|
|
|---|---|---|
|
Semantics |
Replaces a substring in a given string with a given replacement string by a simple textual replacement (no regular expressions). Returns a new string. The state of the current string is not changed.
|
|
|
Substitutables
|
|
Can be any variable or object attribute having the type String. |
|
Examples |
Result: JSON
|
|
Related Content
Related Pages:
-
replace() Operation
Replaces parts of a string using a regular expression. -
substring() Operation
Extracts a substring of a given length beginning at the given position. -
substringAfter() Operation
Returns the substring after the first occurrence of a search string. -
substringBefore() Operation
Returns the substring before the first occurrence of a search string.