Added new *trimall and compact functions to XString