About 401,000 results
Open links in new tab
  1. String (Java Platform SE 8 ) - Oracle Help Center

    The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for extracting substrings, and for creating a copy of a …

  2. String.Substring Method (System) | Microsoft Learn

    You call the Substring (Int32) method to extract a substring from a string that begins at a specified character position and ends at the end of the string. The starting character position is zero …

  3. Java String substring () Method - W3Schools

    Definition and Usage The substring() method returns a substring from the string. If the end argument is not specified then the substring will end at the end of the string.

  4. String.prototype.substring () - JavaScript | MDN

    Jul 10, 2025 · The substring () method of String values returns the part of this string from the start index up to and excluding the end index, or to the end of the string if no end index is supplied.

  5. Java String substring () - Programiz

    The substring() method returns a substring from the given string. The substring begins with the character at the startIndex and extends to the character at index endIndex - 1

  6. JavaScript String substring () Method - GeeksforGeeks

    Jul 11, 2025 · This method returns a new string that is a part of the original string, starting from a specified position up to (but not including) another specified position.

  7. JavaScript Substring (): Extract a Substring from a String

    In this tutorial, you'll learn how to use the JavaScript substring () method to extract a substring from a string.

  8. Java String substring () Method - GeeksforGeeks

    Apr 11, 2025 · In Java, the substring () method of the String class returns a substring from the given string. This method is most useful when you deal with text manipulation, parsing, or data …

  9. JavaScript String substring () Method - W3Schools

    The substring() method extracts characters, between two indices (positions), from a string, and returns the substring. The substring() method extracts characters from start to end (exclusive).

  10. String.prototype.substr () - JavaScript | MDN

    Aug 19, 2025 · The substr () method of String values returns a portion of this string, starting at the specified index and extending for a given number of characters afterwards.