public String substring() {
        return string().substring(position());
    }
Returns the substring of this string from the current position to the end
vespajlib/src/main/java/com/yahoo/text/PositionedString.java