The string trimmed from the right side by the given length.
length
String trimRightLength(int length) => substring(0, this.length - length);