About 549,000 results
Open links in new tab
  1. Java String Reference - W3Schools

    The String class has a set of built-in methods that you can use on strings. Returns the number of Unicode values found in a string. Compares two strings. Returns true if the strings are equal, …

  2. Java String Programs - GeeksforGeeks

    Jun 22, 2024 · Java String class provides a lot of methods to perform operations on strings such as compare (), concat (), equals (), split (), length (), replace (), compareTo (), intern (), …

  3. Java String (With Examples) - Programiz

    In Java, a string is a sequence of characters. For example, "hello" is a string containing a sequence of characters 'h', 'e', 'l', 'l', and 'o'. In this tutorial, we will learn about strings in Java …

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

  5. Java String Methods - 27 String Functions You Must Know

    Oct 25, 2019 · Java String Methods List. A brief introduction to the various methods present in the Java String class. Java String functions examples.

  6. Java String: A Guide to String Basics, Methods, Immutability ...

    Java's String class, part of the java.lang package provides various methods to perform different operations on strings, such as trimming, replacing, converting, comparing, and more. Let's …

  7. JavaString Class and Methods with examples - BeginnersBook

    Oct 25, 2022 · In this tutorial we will learn about String class and String methods with examples. There are two ways to create a String in Java. 1. String literal. A string literal is a sequence of …

  8. Common String Operations in Java - Baeldung

    Jan 8, 2024 · String-based values and operations are quite common in everyday development, and any Java developer must be able to handle them. In this tutorial, we’ll provide a quick …

  9. 10 Important String Methods In Java You Must Know - Crio Blog

    Oct 8, 2022 · How do we create strings in Java? A String object can be created in one of two ways: String Literal - Double quotes are used to construct string literals. Using new: Using the …

  10. Java Strings - GeeksforGeeks

    May 6, 2025 · In Java, a String is the type of object that can store a sequence of characters enclosed by double quotes, and every character is stored in 16 bits, i.e., using UTF 16-bit …

Refresh