Hello automation gurus
I have a question regarding the .Replace function of a string. I am reading a pdf and passing the content out as a string. In the string it contains:
var myString = "The "Company" is"
I understand that myString.Replace("""Company""","XXX")
will return me "The XXX is"
However, i have a situation where the string is something like
var myString2 = "The “Company” is"
When I do a similar myString.Replace("““Company””","XXX")
, it stills returns me "The “Company” is"
which is wrong. Expectation is it should return "The XXX is"
Any idea how to handle such?
Advance thanks!
Jack