[ENH] String splitting
Bolot Kerimbaev
bolot at cc.gatech.edu
Thu Jun 29 14:06:02 UTC 2000
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
|