[Newbies] a titleize function?
Enrico Schwass
ennoausberlin at mac.com
Fri Mar 19 09:00:56 UTC 2010
sergio_101 <sergiolist at village-buzz.com> writes:
> is there a function that can do this:
>
> 'a mouse ate cheese' . 'A Mouse Ate Cheese'
>
> i found capitlize, but that only hits the first word..
>
> thanks!
In addition to my previous post and to get rid of the first space, just
use the allButFirst message.
Anyway, I am sure more experienced Smalltalkers can present a cleaner way.
More information about the Beginners
mailing list