The Baeldung logo
  • The Baeldung LogoKotlin Sublogo
  • Start Here
  • About ▼▲
    • Full Archive

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

    • Write for Baeldung

      Become a writer on the site.

    • About Baeldung

      About Baeldung.

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.

    >> Conversion Between Camel Case and Snake Case in Kotlin

    >> Regular Expression Matching at Specific Indices in Kotlin

    >> How to Convert a Date Time String to Instant in Kotlin

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

    >> Number Formatting in Kotlin

    >> Remove a Character From a String in Kotlin

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

    >> Splitting a String in Kotlin

    >> Convert Int to Hex String in Kotlin

    >> Converting String to Int in Kotlin

    >> Checking if a String is Empty in Kotlin

    >> Convert Byte Arrays to Hex Strings in Kotlin

    >> How Does String Interpolation Work in Kotlin?

    >> String to Long Conversions in Kotlin

    >> InputStream to String in Kotlin

    >> String Comparison in Kotlin

    >> Generate a Random Alphanumeric String in Kotlin

    >> Concatenate Strings in Kotlin

    >> Kotlin String Templates

    • ↑ Back to Top
    The Baeldung logo

    Categories

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

    Series

    • Kotlin Collections

    About

    • About Baeldung
    • The Full Archive
    • Write for Baeldung
    • Editors
    • Terms Of Service
    • Privacy Policy
    • Company Info
    • Contact
    The Baeldung Logo