Appending a character to a string
Damien Cassou
damien.cassou at laposte.net
Sun Feb 11 17:00:21 UTC 2007
Hi,
Often, I want to concatenate a character to a string :
self doSomethingWith: myString, Character cr, anotherString.
However, #, only works with collections. I'm obliged to use #copyWith:
instead. Is there a pattern to do this without using Streams ?
Would it be desirable to enhance #, to allow concatenation of a single
element ?
Bye
--
Damien Cassou
More information about the Squeak-dev
mailing list
|