|
That can be stretched out to ch = ch & 0xDF;, or ch = ch & 223;. What this does is remove the third bit (from the left), making the character uppercase if it's a letter. You need to understand bit mathematics and the ASCII table to understand this. Basically, it's doing the same thing as ch = toupper(ch);.
|