How to remove particular special character

How to remove the caracter which is shown in image?

Hi @yashashwini2322 ,
You can use
strText.Replace(yourcharacter,“”)

Not sure which caracter is that…this character is not recognising?may I know which caracter should I use to replace

Hi,

Can you share your string as file using WriteTextFile?
And also share where from this string comes? (Web page?)

Regards,

@yashashwini2322 - You can try to copy the actual character and put it like this:

strText.Replace("⍰", "")

Hope this helps!

how looks the value in the immediate panel, when outputting the textvarable there:

Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

the general idea is to get more details e.g. by AscW(YourStringVar(IndexToBadChar))

Hi @yashashwini2322

Check out this thread. It will help you.

System.Text.RegularExpressions.Regex.Replace(input,".*","")

Use this expression.

Regards

In image I see they are “⍰”