I want to split String in Pharo 4. My input
'a %% b %% c %%% d %% e %% f'
and i want to get
#('a %% b %% c' 'd %% e %% f')
thus, the delimiter is "%%%"
The Dolphin 7 works well:
'a %% b %% c %%% d %% e %% f' subStrings: ' %%% '
But in Pharo 4 it seems broken:
'a %% b %% c %%% d %% e %% f' subStrings: ' %%% '
"#('a' 'b' 'c' 'd' 'e' 'f')"
Is there a way to get dolphin behavior in Faro?
source
share