join
Lex Spoon
lex at cc.gatech.edu
Mon Sep 25 12:25:58 UTC 2006
"J J" <azreal1977 at hotmail.com> writes:
> I think the best version of all these things was recomended by Kieth,
> and his version just joined collections. If they happen to be string
> then it makes a string.
Isn't returning a string practically the only use case?
$('red' 'green' 'blue') join: ', ' "gives: red, green, blue"
$(1 2 3) join: ', ' "gives: 1, 2, 3"
If "join" is not to be the above method, the above method would still
be nice to have.
-Lex
More information about the Squeak-dev
mailing list
|