Hi, I wanted to remove the spaces in the phone number but I get an error:
Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.
telefon datatype should be String because Replace function can only be used in String Datatype only.
or
telefon datatype is String then “222 222 222” it must be placed in double quotes
Hi @sullivanne
Check the below flow for better understanding:
Set Variable Value -> telefon = "222 222 222"
Set Variable Value -> telefonreplace = telefon.Replace(" ","")
Regards

I have ![]()
I have the same as you, and I have a mistake ![]()
So place double quotes in “222 222 222”
No @sullivanne
Do don’t have the same double please retype the syntax.
telefon.Replace(" ", "")
Your double quotes with space are not right. Please delete that and retype the syntax.
Regards
Ok, sorry, I’m blind
Thank You!
1 Like
You’re welcome @sullivanne
Happy Automation!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

