Friday, September 16, 2011

Remove Multiple Spaces in Single Space

txtOutput.Text = Regex.Replace(txtInput.Text, "\s+", " ")

No comments:

Post a Comment