27,100 results
Open links in new tab
  1. 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 …

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

  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 () 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 …

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

  7. StringBuilder substring () method in Java with examples

    Dec 19, 2025 · The substring () method of the StringBuilder class is used to extract a portion of characters from an existing character …

  8. Java String.substring () - Baeldung

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

  9. Substring in Java (With Examples) - Tpoint Tech

    Oct 23, 2026 · In Java, extracting substrings is a common operation used for text processing, data validation, and string …

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

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