Month: June 2010

Remove Whitespace from C# Strings

We usually use the String.Trim method to remove white space from the start and end of a C# string.  But unfortunately, the System.Trim method does not remove white space from the middle of a string. Example would be string text

Tagged with: , ,
Top