Hi torsten

I do not get your point. In Pharo 60 we have.

capitalized
        "Return a copy with the first letter capitalized"
        | cap |
        self isEmpty ifTrue: [ ^self copy ].
        cap := self copy.
        cap at: 1 put: (cap at: 1) asUppercase.
        ^ cap


"'snoopy' capitalized
'Snoopy'"

Stef

Reply via email to