Lines Matching defs:substring

65  *     String c = "abc".substring(2,3);
66 * String d = cde.substring(1, 2);
724 * and the substring starting with {@code index} has fewer
726 * or if {@code codePointOffset} is negative and the substring
1248 * A substring of this {@code String} object is compared to a substring
1250 * represent identical character sequences. The substring of this
1252 * and has length {@code len}. The substring of other to be compared
1298 * A substring of this {@code String} object is compared to a substring
1301 * case if and only if {@code ignoreCase} is true. The substring of
1303 * {@code toffset} and has length {@code len}. The substring of
1385 * Tests if the substring of this string beginning at the
1391 * argument is a prefix of the substring of this object starting
1398 * this.substring(toffset).startsWith(prefix)
1677 * specified substring.
1685 * @param str the substring to search for.
1686 * @return the index of the first occurrence of the specified substring,
1695 * specified substring, starting at the specified index.
1703 * @param str the substring to search for.
1705 * @return the index of the first occurrence of the specified substring,
1819 * specified substring. The last occurrence of the empty string ""
1828 * @param str the substring to search for.
1829 * @return the index of the last occurrence of the specified substring,
1838 * specified substring, searching backward starting at the specified index.
1846 * @param str the substring to search for.
1848 * @return the index of the last occurrence of the specified substring,
1977 * Returns a string that is a substring of this string. The
1978 * substring begins with the character at the specified index and
1982 * "unhappy".substring(2) returns "happy"
1983 * "Harbison".substring(3) returns "bison"
1984 * "emptiness".substring(9) returns "" (an empty string)
1988 * @return the specified substring.
1993 public String substring(int beginIndex) {
2006 * Returns a string that is a substring of this string. The
2007 * substring begins at the specified {@code beginIndex} and
2009 * Thus the length of the substring is {@code endIndex-beginIndex}.
2013 * "hamburger".substring(4, 8) returns "urge"
2014 * "smiles".substring(1, 5) returns "mile"
2019 * @return the specified substring.
2027 public String substring(int beginIndex, int endIndex) {
2060 * str.substring(begin,&nbsp;end)</pre></blockquote>
2079 return this.substring(beginIndex, endIndex);
2200 * Replaces the first substring of this string that matches the given <a
2245 * Replaces each substring of this string that matches the given <a
2290 * Replaces each substring of this string that matches the literal target
2365 * <p> The array returned by this method contains each substring of this
2366 * string that is terminated by another substring that matches the given
2373 * string then an empty leading substring is included at the beginning
2375 * never produces such empty leading substring.
2759 * object is returned, representing the substring of this string that
2762 * {@code this.substring(k, m + 1)}.
2781 return ((st > 0) || (len < length())) ? substring(st, len) : this;