[Pharo-users] Why is split: implemented in the separator rather than the string?

Andy Burnett andy.burnett at knowinnovation.com
Fri May 20 12:31:02 EDT 2016


>
>
>
> Message: 1
> Date: Thu, 19 May 2016 20:18:09 -0700
> From: John Pfersich <jpfersich at gmail.com>
> To: Any question about pharo is welcome <pharo-users at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160520/a296507f/attachment.html>


More information about the Pharo-users mailing list