Feb. 19, 2013
3:32 p.m.
';;;;' splitOn: $; On 2013-02-19, at 16:30, Friedrich Dominicus <frido@q-software-solutions.de> wrote:
I do not know if that is standardized. But the current behavior of subStrings is that something like: '1;;2;3;4' subStrings: ';'
yields: #('1' '2' '3' '4')
that means the array may get longer or shorter with the same number of separators.
Shouldn't there be some kind of alternative which would yield? #('1' '' '2' '3' '4')
Maybe there is a reason for the first decision. If not what would be the problem with having it both ways?
Regards Friedrich