Is there a standard way to split a string in Haskell?
lines and words work great from splitting on a space or newline, but surely there is
lines
words
Example in the ghci:
> import qualified Text.Regex as R > R.splitRegex (R.mkRegex "x") "2x3x777" > ["2","3","777"]