[Q] String>>withBlanksTrimmed

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Fri Dec 12 16:01:56 UTC 2003


Michael Roberts wrote:

> (result select: [:c | c ~= 0]) asString

More appropriate would be

	(result copyUpTo: 0) asString

Also note that you can use #receiveDataInto: with a String instead of a 
ByteArray, so the #asString conversion could be avoided.

- Bert



More information about the Squeak-dev mailing list