The Hitchhiker's Guide to ...
Friday, July 06, 2012
Join Smalltalk
Thats why I like the language: it easy, extendable and expressive:
';' join: #(1 2 3 4)
returns
'1;2;3;4'
and
String lf join: #('First line' 'Second line')
returns
'First line
Second line'
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment