About 13,100 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 () - Baeldung

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

  5. Java String substring () - Programiz

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

  6. 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.

  7. Java substring () 方法 - 菜鸟教程

    Java substring () 方法 Java String类 substring () 方法返回字符串的子字符串。 语法 public String substring (int beginIndex) 或 public …

  8. Get Substring from String in Java - Baeldung

    Jul 21, 2024 · The practical ways of using the useful substring functionality in Java - from simple examples to more advanced scenarios.

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

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