{-# LANGUAGE OverloadedStrings #-}
import qualified Data.Text as T
myText :: T.Text
myText = "mississippi"
splitOn breaks a Text up into a list of Texts on occurrences of a substring.
ghci> T.splitOn "ss" myText
["mi","i","ippi"]
sp...