Any ideas?
My program is a file validation utility and I have to read in a format file then parse out each line by a single space. But obviously, the person who wr
You can do this -
System.Text.RegularExpressions.Regex.Replace(str,@"\s+"," ");
where str is your string.
str