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)

>> Kotlin Equivalent to Java String Arrays

>> Common String Extension Functions in Kotlin

>> Parsing a URL String

>> Capitalize Every Word in a String with Kotlin

>> Remove All Whitespaces from a String in Kotlin

>> Convert String Into Enum in Kotlin

>> How to Turn String Templates Into Literal Strings

>> Convert a String to a Byte Array in Kotlin

>> Pad a Number in Kotlin

>> Remove a Character From 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