Remove " from a string

My string is str=“Hello World, “XYZ” is my name.”

I want to remove the “” inside the string. It could at “xyz”, “i”,“name”…also this string is not contsant.
Help is appreciated

Hi,

How about the following?

yourString = yourString.Replace("""","")

Regards,

doesnot work…Can you try in your system if possible?

Hi,

It works in my environment.

Sequence1.xaml (4.8 KB)

Can you share your string as file using Write Text file? It might be not chr(34).

Regards,

Yes…chr code was different.Thanks

Hi,

Can you try the following? This removes any quote characters.

System.Text.RegularExpressions.Regex.Replace(yourString,"[\p{Pi}\p{Pf}""]","")

Regards,