Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

Issue reading text from html with  

$
0
0

Hi All, I am reading some string from html file the string is appearing as 2x2 s. I understand that this contain non breaking space . But after reading them in C#app . How do i check if string conatin &nbsp or not. I had tried couple of way but thedy didn't worked. Any idea?

 if(strText.Contains(@"\\u00A0"))
       strText = Regex.Replace(strText, @"\u00A0", " ");

Thanks


Rupesh Shukla


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>