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)

>> Sorting a String Alphabetically in Kotlin

>> How to Extract Individual Values From a JSON String

>> Convert an Array to a String

>> How to Reverse the Order of Words in a Sentence in Kotlin

>> How to Convert a String to a Float in Kotlin

>> How to Repeat a String N Times in Kotlin

>> Split a String Into Chunks of a Given Size in Kotlin

>> How to Convert String to String Array of Words in Kotlin

>> Count the Number of Vowels and Consonants in a Sentence in Kotlin

>> How to Reverse 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