About 12,600 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. String (Java Platform SE 8 ) - Oracle Help Center

    A substring of this String object is compared to a substring of the argument other. The result is true if these substrings represent …

  4. Java String substring () - Programiz

    In this tutorial, you will learn about the Java String substring () method with the help of examples.

  5. Java String.substring () - Baeldung

    Apr 11, 2025 · A quick example and explanation of the substring () API of the standard String class in Java.

  6. String (Java SE 26 & JDK 26) - docs.oracle.com

    A String object is returned, representing the substring of this string that begins with the character at index k and ends with the …

  7. Java - String substring () Method - Online Tutorials Library

    The Java String substring () method is used to retrieve a substring of a String object. The substring starts with the character at the …

  8. Java - String substring () Method - Online Tutorials Library

    This method has two variants and returns a new string that is a substring of this string. The substring begins with the character at the …

  9. Master Java Substring Method: Examples, Syntax, and Use Cases

    Feb 19, 2025 · Learn how to use the Java substring method. Explore syntax, practical examples, and common errors to handle …

  10. Java String Methods - GeeksforGeeks

    May 30, 2026 · Java String methods are built-in functions provided by the String class to perform various operations on strings. …