I want to replace all back slashes with forward slashes and I have the following statement in my CTL2 code:
Code: Select all
replace(myString, "\\", "/");
But I get this error:
Invalid regular expression: "\"
So the interpreter thinks this is a regular expression when in fact it's a string literal. Any way to work around this?