use String streamContents: [:s | s nextPutAll: 'jlklkjkl' ]
or String streamContents: [:s | s << 'jlklkjkl' ] it is a great method for manipulating Le 10/3/15 19:09, sergio_101 a écrit :
it seems that in more cases than not, i find that developers use a stream when concatenating some text strings.I am wondering if this is a smalltalk thing, or is there a real speed benefit when using streams in this way.Thanks!