About 11,500 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

    The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, …

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

  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. Java String substring () - Programiz

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

  7. Java String substring () with Examples - HowToDoInJava

    Learn to find the substring of a string between the begin and end indices, and valid values for both indices with examples.

  8. Java String Methods - GeeksforGeeks

    May 30, 2026 · This method returns the index within the string of the first occurrence of the specified string. If the specified string s is …

  9. Java String Reference - W3Schools

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, …

  10. Java String substring () method - Tpoint Tech

    Mar 17, 2025 · The substring method in Java returns a new string that represents the specified portion of the original string. It does …