📜  haskell 字符串拆分 - Haskell 代码示例

📅  最后修改于: 2022-03-11 14:53:35.199000             🧑  作者: Mango

代码示例1
-- 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"]