Reimar Döffinger wrote Mon, 21 Feb 2011 19:16:14 +0100: >> + if (*p >= 'A' && *p <= 'Z') *p += ' '; > += 'a' - 'A'; > is easier to understand IMO. Yes, I agree. But if it's for easy understanding what about *p = tolower(*p) then? Ingo