strip clarec details of leading/trailing white space