Multisplit: Difference between revisions
Content deleted Content added
→{{header|JavaScript}}: ES6 (without importing Underscore, and generalising to allow for any set of delimiters) |
|||
Line 676:
Or as a fold:
<lang haskell>
import Data.List (find, isPrefixOf)
|