
9 Nov
2007
9 Nov
'07
5:26 p.m.
On Nov 9, 2007, at 8:09 AM, Thomas Worthington wrote:
I'd love to say that there must be an easier way but instead I'd like to say that the person that defined the C++ string class without case-changing functions should themselves be strung up!
Oh, well that point is very simple. There is no way for a string in and of itself to change its case.
Instead you need some language aware locale-sensitive thing to do that. In some cases even the number of characters will change as you convert.