Answers for "using split in haskell"

0

haskell string split

-- There is a package for this called split.

cabal install split

-- Use it like this:

ghci> import Data.List.Split
ghci> splitOn "," "my,comma,separated,list"
["my","comma","separated","list"]
Posted by: Guest on June-12-2021

Browse Popular Code Answers by Language