Drops the last n characters. Returns empty string if n >= length.
n
String dropRight(int n) { if (n <= 0) return this; if (n >= length) return ''; return substring(0, length - n); }