The where is a better suffix than the "on".
I'd prefer something like:
'abcDefKjm' splitWhere: [:a | a isUppercase ] -> #('abc' 'Def' 'Kjm')
Regards,
Esteban A. Maringolo
On Wed, Sep 29, 2021 at 1:58 PM stephane ducasse
wrote:
>
> 'abcDefKjlkj' piecesCutWhere:[ :a :b | b isUppercase ]
>
>
>
>
'abcDefKjlkj' piecesCutWhere:[ :a :b | b isUppercase ]
> On 29 Sep 2021, at 18:55, stephane ducasse wrote:
>
> 'abcDef' splitOn: [ :c | c isUppercase ]
‘abc’ ‘ef’
>
> but I need
>
> 'abcDef' splitOn: [ :c | c isUppercase ]
‘abc’ ‘Def’
>
> :(
'abcDef' splitOn: [ :c | c isUppercase ]
>>> ‘abc’ ‘ef’
but I need
'abcDef' splitOn: [ :c | c isUppercase ]
>>> ‘abc’ ‘Def’
:(
Both instances have been up for 5 days now, looking for more testers.
> On 23 Sep 2021, at 17:03, Sven Van Caekenberghe wrote:
>
> Hi,
>
> Zinc HTTP Components [https://github.com/svenvc/zinc] has been a part of
> Pharo since version 1.3 (2011). It is an open-source framework to deal with
> t