E2E Forum › Modeling & Development › Replacement of literals in a string
Tagged: replace string function
This topic contains 1 reply, has 2 voices, and was last updated by Peter Jungblut 5 years, 10 months ago.
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”);
You must be logged in to reply to this topic.