E2E Forum › Modeling & Development › Replacement of literals in a string
Tagged: replace string function
I would like to replace some literals in a text:
e.g. This is my nr in a text (replace “nr” to “number”) -> This is my number in a text
In the examples I found only replacements of leading and trailing characters.
You have to put the search string into brackets. In your example:
set newString = oldString.replace(“(nr)”,”number”);