I Want to delete string "

i want to delete string "

ex ) Data A : “MKC66779301 594436.84T,R2,EURO 30 PC 6.6 198”
in here i want to delete "

so i find internet,
in java use Replace(“/”“,”")
“hello world” → hello world

BUT in UiPath


error occur

so help me plz

Hi,

Can you try the following?

D.ToString.Replace("""","")

Regards,

@sssim4567

In UiPath escape character for double quotes is adding one more double quote with it…so we have to use double double quotes to replace them

String.Replace(str,"""","")

Cheers

Hi @sssim4567

You can also use this

System.Text.RegularExpressions.Regex.Replace(D.String.Trim,"\""","")

Regards
Sudharsan

The following methods are used to remove a specific character from a string in Python.
By using the Naive method.
By using replace() function.
By using slice and concatenation.
By using join() and list comprehension.
By using the translate() method.

Regards,
Will

Hi @sssim4567

Try with this regex expression

System.Text.RegularExpressions.Regex.Replace(YourInput.String.Trim,\”|\“,"")

Regards
Gokul

Hello

One more solution is to use Chr Function

str_Var.Replace(Chr(34).tostring(),“”)

Chr(34) returns Double Quotes…

Regards
Ankit