Replace a string in var

I am linking it to Selenium IDE string operations with executeScript_Sandbox