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 Multi-line String

  • popular

>> Checking for Empty or Blank Strings in Java

  • popular

>> Concatenating Strings in Java

  • popular

>> Checking If a String Is a Repeated Substring

>> Templating with Handlebars

>> Removing Stopwords from a String in Java

>> Java String API – New Methods

>> String Initialization in Java

>> Check If a String Contains a Substring

>> Transforming an Empty String into an Empty Optional

>> Common String Operations in Java

>> Check If a String Contains Multiple Keywords in Java

>> Java toString() Method

>> Check if a String Is a Pangram in Java

>> Java String Interview Questions and Answers

>> Convert a Comma Separated String to a List in Java

>> Replace a Character at a Specific Index in a String in Java

>> Find the Longest Substring Without Repeating Characters

>> Remove Leading and Trailing Characters from a String

>> Array to String Conversions

  • «
  • ← Previous
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 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