1

I am new to UIPath and having too trouble in replacing Double quotes, can anyone please help?

4 Answers4

1

I stored the DOUBLE_QUOTE in a variable using ASCII conversion and then passed that variable into replace method.

Please let me know if any easier solution is there.

1

If you need to use a double quote in a string constant simple duplicate it, ie. "Quotes" as escaped by doubling them would look like ""Quotes"" as escaped by doubling them

Ilya Kochetov
  • 17,988
  • 6
  • 44
  • 60
1

your solution is quite good but you can use: string = string.ToString.Replace(""""," ")

0

For using double quotes in a string you can use chr() function as "leftPartOfString"+CHR(34).toString+"RightPartOfString".

And for Replacing inputString.Replace(chr(34).toString,"").TY.

AnkitKwar
  • 76
  • 9