Friday, April 30, 2010

removing spaces from string

c#'s string trim functioın removes only whitespaces from end of string
but how to remove all white spaces?

string current = Regex.Replace(current, @"\s", "");

details in this link

No comments: