globalreplace

Replace one string with another string.

 

Part of ue_system_tools

 

tools=globalreplace=variablenname=<fromValue>=<toValue>

 

Only can be used with variables.

For char substitution of a whole line you need to copy the string into a variable first.

Example:

string myvar=itemname

tools=globalreplace=myvar=red=blue

setitem=itemname=myvar

 

 

Example with special Signs

setvar=ls_text=abc|def

// char 38 is the &-Sign

setvar=ls_to=<char 38>

tools=globalreplace=ls_text=|=<ls_to>

messagebox=<ls_text>

output: abc&def