It doesn't matter if you're appending a space alone or anything followed by a space; as long as there's a space at the end of the string you're appending (and the previous character in that string is not a space as well), the space will be chopped off.