Logo-small

4.4.6 Streams and Collections

Q How do I convert a collection of characters to a String? E.g. 'hello world' asSet ...
A
(WriteStream with: String new) nextPutAll: 'hello world' asSet; contents.

Add a Note

Licensed under Creative Commons BY-NC-SA | Published using Pier |