and this is working
String streamContents: [ :stream | gifts allButLast do: [ :each | stream nextPutAll: each ] separatedBy: [ stream nextPut: $,; space ]. stream nextPut: $,; nextPutAll: ' and '; nextPutAll: gifts last ] ] Thanks Estaban for the hint. Roelof Op 16-5-2019 om 21:51 schreef Roelof Wobben:
|
- [Pharo-users] can I do this with a stream or a forma... Roelof Wobben
- Re: [Pharo-users] can I do this with a stream o... Esteban Maringolo
- Re: [Pharo-users] can I do this with a stre... Roelof Wobben
- Re: [Pharo-users] can I do this with a ... Roelof Wobben
- Re: [Pharo-users] can I do this wit... Esteban Maringolo
- Re: [Pharo-users] can I do this wit... Roelof Wobben
- Re: [Pharo-users] can I do this wit... Roelof Wobben
- Re: [Pharo-users] can I do thi... Esteban Maringolo
- Re: [Pharo-users] can I do... Roelof Wobben
- Re: [Pharo-users] can I do this with a stream o... Richard O'Keefe
- Re: [Pharo-users] can I do this with a stre... Sven Van Caekenberghe
- Re: [Pharo-users] can I do this with a ... Esteban Maringolo
- Re: [Pharo-users] can I do this wit... Tim Mackinnon