There is a `trim`, but no `trimStart/trimEnd` (trimLeft/trimRight). Is implementing it each time with some `countPrefix` or `regEx` should be an option?