[squeak-dev] The Inbox: Collections-cmm.1022.mcz

David T. Lewis lewis at mail.msen.com
Sat Nov 19 19:59:57 UTC 2022

On Sat, Nov 19, 2022 at 07:09:10PM +0100, Jakob Reschke wrote:
> Should we add a message to split on _any_ of the elements of the argument
> (like subStrings:, unlike splitBy:), preserving empty groups (like
> splitBy:, unlike subStrings:)? For example, #splitByAnyOf:

I would say to add it if only if it is really going to be used, otherwise no.

With #splitBy: #subStrings: and #findTokens: the protocol already seems a bit cluttered.


More information about the Squeak-dev mailing list