The substring() method in Java is a powerful tool for extracting portions of a string. It allows you to create a new string based on the characters within a specified range of an existing string.
log("(15, 14) length: " + textInputController.attributedSubstringFromRange(15, 14).length()); // should be 14 characters! log("(100, 0): " + textInputController ...