Tag Archives: c#

Remove ‘extra’ spaces in C # (C Sharp) string using recursion

This is a little code function that I developed to remove ‘extra’ spaces from a string.  I.e. removing any groups of two or more spaces. Basic theory is to replace all pairs of spaces with a single space, and keep … Continue reading

Posted in Programming | Tagged , , , | 2 Comments