Kantu replace part of text in variable


#1

Is it posible to replace part of text in variable?


#2

Just to clarify: So you want to change the name of a variable while the macro runs? Why this?


#3

not name of var, i want to change variable value
theres phone number, i want to remove first char


#4

Ok, got it. You can use storeEval for this. Inside storeEval you an run all kinds of Javascript and regular expressions, and then the new value gets assigned to the variable again:

storeEval | ...${yourVar}.... | yourVar