Posted on: 12/22/2013 8:44:57 AM | Views : 858

I am using HtmlAgilityPack to fetch data from a website.
The thing is when i grab certain chunks of text from a website and then trim it  I am not able to remove the whitespaces
completely .
ex : The string        is good.
    The string is good.
innerHtml.trim().tostring() -- doesnt work .. still leaves behind lots of spaces .
innerText.trom().tostring() - same as above

Any ideas will be appreciated.  

Go to the complete details ...