stephane ducasse <stephane.ducasse@free.fr> writes:
the above fucntions would get: capitalized "Return a copy with the first letter capitalized" ^ self withFirstLetterTransformed: [:value | value asUppercase ].
and withFirstCharacterDownshifted
withFirstCharacterLowercase? Well no, the name in the Pharo image is withFirstCharacterDownshifted withFirstCharacterInLowercase? withFirstCharacterInUppercase?
"Return a copy with the first letter downShifted (in lower case)"
^ self withFirstLetterTransformed: [:value | value asLowercase ].
Well I also know that capitalized is a very "old" thing but the second name is more specific. So what about: withFistCharacterUpshifted .... as counterpart?
does not fly :)
Well that might be. I just wrote what I found and I was thinking about unifiying it a bit...
Did you check what are the senders of first:?
No, but I checked today. There are 35 senders of it in my Image (pharo 2-0 one click) Regards Friedrich