AW: [ENH] String splitting
FWr at phaidros.com
FWr at phaidros.com
Thu Jun 29 14:13:15 UTC 2000
Seems that this makes my little method unnecessary.
Thanks!
Frank
-----Ursprüngliche Nachricht-----
Von: Bolot Kerimbaev [mailto:bolot at cc.gatech.edu]
Gesendet: Donnerstag, 29. Juni 2000 16:06
An: squeak at cs.uiuc.edu
Betreff: Re: [ENH] String splitting
Perhaps String>>findTokens: would work? It takes a collection of
Characters (e.g., String) as a parameter:
('aloha;bloha;cloha' findTokens: ';') do: [:str | ...]
Bolot
On Thu, Jun 29, 2000 at 01:50:58PM +0200, FWr at phaidros.com wrote:
> Hi folks,
>
> I just looked for a method to split a string at all occurences of a given
> character. Unfortunately I couldn't find a method for this problem. So I
> wrote one myself. Maybe it will be of interest for others.
>
> Frank
>
>
More information about the Squeak-dev
mailing list
|