string_util: add TrimString series functions