"1" is already upper case. You might want to be able to downcase it, but I don't think Unicode has lower case digits.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-09-05 02:53: Subject: Language comparisions
Should we have an identity function for the fun of it (Haskell has id and Smalltalk has yourself)?
Possibly, but what should it be called?
Should upper_case and lower_case be able to operate on integers (chars)?
Why not? Please submit a patch :)
Er.. like what? upper_case(141) == 65 ? or upper_case("1") == "!"?
I guess not the latter since it's pretty keyboard dependent =)
/ Peter Lundqvist (disjunkt)