About 805,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. Java String Reference - W3Schools

    Searches a string for a specified value, and returns a new string where the specified values are replaced: String: replaceAll() Replaces each substring of this string that matches the given …

  3. Java Strings - GeeksforGeeks

    May 6, 2025 · Java provides a robust and flexible API for handling strings, allowing for various operations such as concatenation, comparison, and manipulation. Example: String name = …

  4. Java Platform SE 8 - Oracle

    String conversions are implemented through the method toString, defined by Object and inherited by all classes in Java. For additional information on string concatenation and conversion, see …

  5. String Class in Java - GeeksforGeeks

    May 1, 2025 · In this article, we are going to learn about the String class in Java. Example of String Class in Java: Explanation: The above program creates a string using a literal and prints …

  6. Java 8 - The String Class

    In our first lesson of this section we learn all about the predefined String object. We look at string immutability, creation and efficiency before finishing the lesson by looking at some of the …

  7. String - Wikibooks, open books for an open world

    Jun 28, 2024 · String is a class built into the Java language defined in the java.lang package. It represents character strings. Strings are ubiquitous in Java. Study the String class and its …

  8. All About String in Java - Baeldung

    May 6, 2018 · Since its introduction in Java 8, the Stream API has become a staple of Java development. The basic operations like iterating, filtering, mapping sequences of elements are …

  9. String (Java SE 22 & JDK 22) - Oracle

    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 …

  10. Java Strings - W3Schools

    Strings are used for storing text. A String variable contains a collection of characters surrounded by double quotes: A String in Java is actually an object, which contain methods that can …

  11. Some results have been removed
Refresh