Lines Matching defs:substring

228    *          argument is a prefix of the substring of this object starting
249 * argument is a prefix of the substring of this object starting
420 * specified substring. The integer returned is the smallest value
428 * @return if the string argument occurs as a substring within this
430 * such substring is returned; if it does not occur as a
431 * substring, <code>-1</code> is returned.
439 * specified substring. The integer returned is the smallest value
447 * @return if the string argument occurs as a substring within this
449 * such substring is returned; if it does not occur as a
450 * substring, <code>-1</code> is returned.
458 * specified substring, starting at the specified index. The integer
471 * @param str the substring to search for.
473 * @return If the string argument occurs as a substring within this
476 * of the first such substring is returned. If it does not occur
477 * as a substring starting at <code>fromIndex</code> or beyond,
486 * of the specified substring. The rightmost empty string "" is
494 * @param str the substring to search for.
495 * @return if the string argument occurs one or more times as a substring
497 * the last such substring is returned. If it does not occur as
498 * a substring, <code>-1</code> is returned.
506 * the specified substring.
508 * @param str the substring to search for.
515 * @return If the string argument occurs one or more times as a substring
518 * the last such substring is returned. If it does not occur as a
519 * substring starting at <code>fromIndex</code> or earlier,
527 * Returns a new string that is a substring of this string. The
528 * substring begins with the character at the specified index and
532 * "unhappy".substring(2) returns "happy"
533 * "Harbison".substring(3) returns "bison"
534 * "emptiness".substring(9) returns "" (an empty string)
538 * @return the specified substring.
543 public abstract XMLString substring(int beginIndex);
546 * Returns a new string that is a substring of this string. The
547 * substring begins at the specified <code>beginIndex</code> and
549 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
553 * @return the specified substring.
561 public abstract XMLString substring(int beginIndex, int endIndex);
654 * object is created, representing the substring of this string that
657 * <code>this.substring(<i>k</i>,&nbsp;<i>m</i>+1)</code>.