In VA, tgey just introduced allSubStrings: for this matter, because subStrings 
was changed to return only non-empty parts...
Do you find that in Pharo?

Joachim

"Esteban A. Maringolo" <emaring...@gmail.com> schrieb:

>I have a string like 'foo|bar||foobar|' and I want to split it into
>separate tokens like:
>
>'foo|bar||foobar|' subStrings: $| -> #('foo' 'bar' '' 'foobar' '').
>
>It is... to INCLUDE empty strings (or nil for that case) for the
>elements between to consecutive separators.
>
>I can't found a method implementing this in Pharo (in Dolphin it works
>as I expect).
>
>Thank you!
>
>Esteban A. Maringolo
>
>

Reply via email to