1interface String { 2 /** Removes the trailing white space and line terminator characters from a string. */ 3 trimEnd(): string; 4 5 /** Removes the leading white space and line terminator characters from a string. */ 6 trimStart(): string; 7 8 /** Removes the leading white space and line terminator characters from a string. */ 9 trimLeft(): string; 10 11 /** Removes the trailing white space and line terminator characters from a string. */ 12 trimRight(): string; 13} 14