trim method

Implementation

OptionalString trim() => this.map((x) => x.trim());