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 Security Core

        Focus on the Core of Spring Security 6

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 6

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • 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

  • 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 (64)
  • Java Characters (52)
  • String Conversions (41)
  • Apache Commons Lang (35)
  • StringBuilder (25)
  • Java String Basics (14)
  • Guava (10)
  • toString (8)
  • Java Null (7)
  • Sorting (7)
  • JMH (7)
  • Apache Commons IO (6)

>> String Interpolation in Java

  • popular

>> Capitalize the First Letter of a String in Java

  • popular

>> Validate UUID String in Java

  • popular

>> String Concatenation in Java

  • popular

>> Named Placeholders in String Formatting

  • popular

>> Comparing a String to an Enum Value in Java

>> Compiling and Executing Code From a String in Java

>> Guide to Splitting a String by Whitespace in Java

>> Find the First Non Repeating Character in a String in Java

>> Retain Only Digits and Decimal Separator in String

>> Convert String to Instant

>> Convert String to String Array

>> Convert String to char in Java

>> Convert a List to a Comma-Separated String

>> Remove the Last Character of a Java StringBuilder

>> Permutations of a String in Java

>> Integer.toString() vs String.valueOf() in Java

>> Remove Whitespace From a String in Java

>> How to Truncate a String in Java

>> Clearing a StringBuilder or StringBuffer

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

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • The Courses 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