Some auxiliary operations that might fit better into system libraries.
stripSpaces
:: String -> String
Strips leading and tailing spaces: |
stripEnclosing
:: Char -> Char -> String -> String
Strips a leading and tailing character if they are present. |
Strips leading and tailing spaces: |
Strips a leading and tailing character if they are present. |