Hello there,
Anyone know how to replace the double quotes (“”) in a string with single quotes (")?
UiPath does not like it when I try to make the replacement “”".
Thanks
Hello there,
Anyone know how to replace the double quotes (“”) in a string with single quotes (")?
UiPath does not like it when I try to make the replacement “”".
Thanks
"some text ""hello"" "
This will give the MyVar variable a value of some text “hello”…
Meanwhile why you need double quotes in a string
You can use Char(34)
regex.replace(“your text here”,chr(34)+chr(34),chr(34))
@KamKam - Let’s say your string is yourString = Kam"Kam
the use yourString.Replace(“”“”,“”“”“”) it will work.
Best!!
Anmol
System.Text.RegularExpressions.Regex.Replace(MyString, chr(34), chr(34) + chr(34)) worked. Thanks.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.