In Pharo:
':' split: 'one:two:three:' => OrderedCollection( 'one' 'two' 'three' '' )
(':' split: 'one:two:three:') size => 4
Last element is an empty String
In Ruby:
>> 'one:two:three:'.split(':')
=> ["one", "two", "three"]
>> 'one:two:three:'.split(':').size
=> 3
Laurent Laffont
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
