Trim un-necessarry char from aggregation variable