String charMap(String Function(String char) map) { String s = ""; for (int i = 0; i < length; i++) { s += map(this[i]); } return s; }