I am making a application which can convert a excel file to CSV file.
However, some string contain a quotation mark, so when the CSV exported, some of the String was spl
Since strings are immutable in .NET, you can't change their values. That means that a new string is made on every write operation on a string.
Because of that, every method which 'modifies' a string returns a new string instead. So you have to assign that value:
HTMLTable = HTMLTable.Replace("\"", "");