The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Spring Courses ▼▲
    • REST with Spring Boot

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security

      THE unique Spring Security education if you’re working with Java today

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

    • View All Spring Courses

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

    • View All Courses

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Category upJava

Java String

In the following list, you’ll find examples of common operations that you can perform on Java Strings.

  • Regex (68)
  • Java Characters (53)
  • String Conversions (43)
  • Apache Commons Lang (37)
  • StringBuilder (26)
  • Java String Basics (15)
  • Guava (11)
  • JMH (9)
  • toString (8)
  • Java Null (7)
  • Sorting (7)
  • Performance (6)
  • Matchers (6)
  • Java Integer (6)
  • Apache Commons IO (6)

>> Java Text Blocks

  • popular

>> Where Does Java’s String Constant Pool Live, the Heap or the Stack?

>> Java (String) or .toString()?

>> Converting a Java String Into a Boolean

>> String Concatenation with Invoke Dynamic

>> Encode a String to UTF-8 in Java

>> Fixing “constant string too long” Build Error

>> L-Trim and R-Trim Alternatives in Java

>> How to Use Regular Expressions to Replace Tokens in Strings in Java

>> Case-Insensitive String Matching in Java

>> Get Substring from String in Java

>> Check if Two Strings Are Anagrams in Java

>> Finding the Difference Between Two Strings in Java

>> Convert Character Array to String in Java

>> Counting Words in a String with Java

>> Java String equalsIgnoreCase()

>> Sorting Strings by Contained Numbers in Java

>> Convert String to Double in Java

>> String toLowerCase and toUpperCase Methods in Java

>> How to Reverse a String in Java

  • «
  • ← Previous
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • Next →
  • »
Course – LSSO – NPI EA (tag = OAuth)
LSSO Course Banner
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • Login Course Platform

Series

  • Java “Back to Basics” Tutorial
  • Learn Spring Boot Series
  • Spring Tutorial
  • Get Started with Java
  • All About String in Java
  • Security with Spring
  • Java Collections

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo