CLSN-566 Code Review Issues: Mahendra
trimstart and trimend replaced by trim function