trim-0.1.0.0: A command-line tool for trimming whitespace

Safe HaskellSafe
LanguageHaskell2010

Text.Trim

Description

Module that defines functions for removing unwanted whitespace from strings

Synopsis

Documentation

trimSpaces :: String -> String Source #

This function takes a string and trims all trailing whitespace characters from it

trimLines :: [String] -> [String] Source #

This function takes a list of lines and trims all trailing lines of whitespace from it