Learn several ways to convert Lists to Strings using only core Kotlin and the Collections API.
Also find me here:
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Converting Strings to Date in Kotlin
Filed under Kotlin Strings
A quick and practical guide to converting Strings to Dates in Kotlin.
Check if a String Is Numeric in Kotlin
Filed under Kotlin Strings
A quick and practical guide to checking if String is numeric in Kotlin.
Introduction to Kotest
Filed under Testing
Explore several basic functionalities provided by the Kotest framework.
Initialize a Map in Kotlin
Filed under Kotlin Collections
A quick and practical guide to initializing a Map in Kotlin.
Composing Coroutines and Suspend Functions
Filed under Asynchronous Programming
Learn how to work with coroutines in Kotlin and how to compose them together.
Access Kotlin Companion Object in Java
Filed under Kotlin-Java Interop
A quick and practical guide to accessing Kotlin’s companion objects from Java.
Initialize a List in Kotlin
Filed under Kotlin Collections
A quick and practical guide to initializing a List in Kotlin.
Kotlin DSL for Gradle
Filed under Kotlin
Learn how to write Gradle scripts in Kotlin
Iterate Over a Map in Kotlin
Filed under Kotlin Collections
There are a few ways to iterate over the keys and values in a Kotlin map. We look at some of the options and which is more efficient at runtime.