Fixed small error in XString::RemoveChar