The Baeldung logo
  • The Baeldung LogoKotlin SublogoKotlin Sublogo
  • Start Here
  • Guides ▼▲
    • Kotlin Tutorial

      Learn about the core concepts and basic building blocks of Kotlin.

    • Kotlin Collections

      Learn how to use collections in Kotlin.

    • Kotlin Basics

      Introductory examples for Kotlin.

    • Kotlin Classes and Objects

      Classes and Objects provide the foundation for all Kotlin development.

    • Kotlin with Spring

      Learn how to use the Spring framework with Kotlin.

  • Pricing
  • About ▼▲
    • Full Archive

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

    • About Baeldung

      About Baeldung.

Category upKotlin

Kotlin Strings

Strings are used for storing text and are one of the most common objects in Kotlin. Look through our list of tutorials and learn how to work with Strings.

  • String Conversions (16)
  • Regex (6)
  • Recursion (3)
  • Math (2)
  • List (2)

>> Count Occurrences of a Character in a String in Kotlin

>> Check if a String Contains a Substring in Kotlin

>> Convert a Character Array to a String in Kotlin

>> Get Character by Index in a Kotlin String

>> Convert List to String in Kotlin

>> Converting Strings to Date in Kotlin

>> Check if a String Is Numeric in Kotlin

>> Guide to Base64 Encoding and Decoding Strings in Kotlin

>> Removing All Non-Alphanumeric Characters in Kotlin

>> Functions for Replacing Part of a String in Kotlin

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next →
The Baeldung logo

Categories

  • Kotlin Basics
  • Kotlin Classes and Objects
  • Spring with Kotlin

Series

  • Kotlin Collections
  • Kotlin Strings
  • Kotlin Tutorial
  • Kotlin Spring
  • Kotlin Coroutines Tutorial

About

  • About Baeldung
  • Baeldung All Access
  • The Full Archive
  • Editors
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms Of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo