While scraping a date from the website I found that it contains ZeroWidthSpace Unicode character and I am unable to parse the date string to a DateTime.
I tried removing the ZeroWidthSpace char by using string.Replace() function like this x.Replace(“\u200B”, “”).
This works perfectly fine in a C# program, but I cannot remove this char in UI Path. Is this a limitation in the “.Replace()” in UI Path or am I missing something here?
Since the Replace function did not work, I am looping through each character in the string and convert the char to int and check if it equals 8203 (int equivalent), and removing the unwanted char, but this is not an efficient way.