Appending a character to a string
Jon Hylands
jon at huv.com
Sun Feb 11 17:15:43 UTC 2007
On Sun, 11 Feb 2007 18:00:21 +0100, Damien Cassou
<damien.cassou at laposte.net> wrote:
> However, #, only works with collections. I'm obliged to use #copyWith:
> instead. Is there a pattern to do this without using Streams ?
self doSomethingWith: myString, (String with: Character cr), anotherString.
Later,
Jon
--------------------------------------------------------------
Jon Hylands Jon at huv.com http://www.huv.com/jon
Project: Micro Raptor (Small Biped Velociraptor Robot)
http://www.huv.com/blog
More information about the Squeak-dev
mailing list
|