regex-do-3.2: PCRE wrapper
Text.Regex.Do.Trim
Synopsis
class Trim a where Source #
removes leading and trailing spaces and tabs
Minimal complete definition
trim
Methods
trim :: a -> a Source #
Instances
trim :: String -> String Source #
trim :: ByteString -> ByteString Source #
see strip
strip
trim :: Text -> Text Source #