Why is split: implemented in the separator rather than the string?
May 20, 2016
4:31 p.m.
Message: 1 Date: Thu, 19 May 2016 20:18:09 -0700 From: John Pfersich <jpfersich@gmail.com> To: Any question about pharo is welcome <pharo-users@lists.pharo.org> Subject: Re: [Pharo-users] Why is split: implemented in the separator rather than the string? Message-ID: <C3F79F22-5675-4E29-97AC-A630D9ADA2E0@gmail.com> Content-Type: text/plain; charset=us-ascii
If you want to do it reversed, do it like this:
'1969-07-20' splitOn: '-'
Thanks to both of you for responding. Makes sense.
Cheers Andy
3724
Age (days ago)
3724
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andy Burnett