StéphaneDucasse
StéphaneDucasse
the following is better than the first one. It lets clients adjust their semantics. ``` splitOnFirst: anObject noneValue: aValue "Split the receiver on the first element that match anObject" "#(1...
``` splitOnFirst: anObject "Split the receiver on the first element that match anObject, returns two sequenceable." "#(1 2 3 0 4 5 6 0 7) splitOnFirst: 0 >> #(#(1 2...
Good idea. I have to think about because with ifNone: how do I return `#(#(1 2 3 04 5 6 0 7) #())` `#(1 2 3 0 4 5 6...
Because in general split should return two collections.
For now I will package what I did in a separate package and see.
Ok I finally got it and double space produces a Go to the next line but within the space. So we will introduce
``` This is a paragraph It continues like this. ``` This is a paragraph It continues like this.
This is a paragraph ending with a double space character It continues like this.
This is a paragraph ending with a double space character ~~ It continues like this.
Done