Home | History | Annotate | Download | only in utils

Lines Matching defs:substring

273    *          argument is a prefix of the substring of this object starting
280 * this.subString(toffset).startsWith(prefix)
297 * argument is a prefix of the substring of this object starting
304 * this.subString(toffset).startsWith(prefix)
495 * specified substring. The integer returned is the smallest value
503 * @return if the string argument occurs as a substring within this
505 * such substring is returned; if it does not occur as a
506 * substring, <code>-1</code> is returned.
517 * specified substring. The integer returned is the smallest value
525 * @return if the string argument occurs as a substring within this
527 * such substring is returned; if it does not occur as a
528 * substring, <code>-1</code> is returned.
539 * specified substring, starting at the specified index. The integer
552 * @param str the substring to search for.
554 * @return If the string argument occurs as a substring within this
557 * of the first such substring is returned. If it does not occur
558 * as a substring starting at <code>fromIndex</code> or beyond,
570 * of the specified substring. The rightmost empty string "" is
578 * @param str the substring to search for.
579 * @return if the string argument occurs one or more times as a substring
581 * the last such substring is returned. If it does not occur as
582 * a substring, <code>-1</code> is returned.
593 * the specified substring.
595 * @param str the substring to search for.
602 * @return If the string argument occurs one or more times as a substring
605 * the last such substring is returned. If it does not occur as a
606 * substring starting at <code>fromIndex</code> or earlier,
617 * Returns a new string that is a substring of this string. The
618 * substring begins with the character at the specified index and
622 * "unhappy".substring(2) returns "happy"
623 * "Harbison".substring(3) returns "bison"
624 * "emptiness".substring(9) returns "" (an empty string)
628 * @return the specified substring.
633 public XMLString substring(int beginIndex)
635 return new XMLStringDefault(m_str.substring(beginIndex));
639 * Returns a new string that is a substring of this string. The
640 * substring begins at the specified <code>beginIndex</code> and
642 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
646 * @return the specified substring.
654 public XMLString substring(int beginIndex, int endIndex)
656 return new XMLStringDefault(m_str.substring(beginIndex, endIndex));
765 * object is created, representing the substring of this string that
768 * <code>this.substring(<i>k</i>,&nbsp;<i>m</i>+1)</code>.