String operations, part of the Useful module.
Documentation
strip :: String -> StringSource
Strips whitespace from either side of a string.
$ strip " asdsadasds \r\n" \n "asdsadasds"
stripr :: String -> StringSource
Strips whitespace from the right of a string
$ stripr " asdioamlksd \n\n" \n " asdioamlksd"