How do you trim whitespace from the start and end of a string?
trim \" abc \" => \"abc\"
Edit:
Ok, let me be a little cleare
Inefficient but easy to understand and paste in where needed:
strip = lstrip . rstrip lstrip = dropWhile (`elem` " \t") rstrip = reverse . lstrip . reverse