join
Yanni Chiu
yanni at rogers.com
Fri Sep 15 20:02:15 UTC 2006
Oscar Nierstrasz wrote:
> eg := 'Now is the time for all good men to come to the aid of the
> party'.
>
> self assert: ((eg split: 'the') join: 'the') = eg.
In my viewer I saw two spaces at "the party".
So what should happen for #split: on a single space.
Should there be an extra item with value nil or an
empty string? Or should there be no extra item?
More information about the Squeak-dev
mailing list
|