Added trim String utility to remove white spaces at the front and end of string