Added configurable support to purge whitespace [\r\n\t].