Trim - new implementation (a proposal) + some new tests (note a bug in stri_sub)