A quick tutorial on converting strings to characters in Kotlin.
Here's what I've written (so far):
Baeldung on Kotlin
- Kotlin Strings (11)
- Kotlin Collections (11)
- Patterns (3)
- Algorithms (3)
- Libraries (2)
- Kotlin Numbers (2)
- Testing (1)
- Kotlin-Java Interop (1)
- Kotlin IO (1)
- Kotlin Functions (1)
- Kotlin Dates (1)
- Kotlin Classes and Objects (1)
- Kotlin (1)
A quick tutorial on converting two arrays into a map in Kotlin.
A quick tutorial on counting the number of times an item appears in a list in Kotlin.
A quick tutorial on removing null values when converting a list to a map in Kotlin.
A quick tutorial on calling private methods from outside of the class they are declared within in Kotlin.
A quick guide to calculating standard deviation of sets of numbers in Kotlin.
A quick guide to extracting individual values from JSON strings in Kotlin.
A quick tutorial on reversing the word order in a sentence with Kotlin.
A quick tutorial about converting strings to floats in Kotlin.
A quick tutorial on repeating strings in Kotlin.
Explore several strategies for transforming Maps in Kotlin.
Explore the techniques of reversing a string in Kotlin.
Explore several strategies for creating a frequency map in Kotlin.
Learn how to perform matrix addition and multiplication in Kotlin.
Learn several strategies for ignoring the case when sorting word collections lexicographically.
Learn several strategies of implementing the merge sort in Kotlin.
Explore a few variations of the quicksort algorithm in Kotlin.
Explore various techniques to determine if a character is alphabetic in Kotlin.
Learn several strategies for determining if a char is a consonant or vowel in Kotlin.
Explore how to manage complexity with the facade pattern in Kotlin.
Discover a few strategies for determining if a string is a palindrome in Kotlin.
The article introduces the Adapter Pattern in Kotlin, a design pattern that enables collaboration between classes with incompatible interfaces. We use an Audio Player example to demonstrate how the pattern works.
Learn how to apply the Chain of Responsibility pattern in Kotlin with a practical example.
Learn how to convert between binary and decimal numbers in Kotlin.
Learn strategies for verifying properties on objects inside of lists with Kotest.
Learn several strategies to convert Maps to Strings in Kotlin, including some techniques to create JSON representations.
Learn several ways of computing the difference between two lists in Kotlin.
Learn how to use Kotlin callback functions effectively.
Learn about Opt-in APIs in Kotlin, including how to use them and how to make your own.
Explore how to deserialize JSON to generic Kotlin objects with the Gson TypeToken.
This article explores various ways of converting Java code to Kotlin code, including using IntelliJ IDE or Android Studio, an online tool called JavaInUse, and the advantages of Kotlin over Java. It also discusses the limitations of each method and provides recommendations for when to use them.
Learn how to calculate the power of a number in different ways, using Kotlin.
While Kotlin provides many features that remove the need for Lombok, we may wish to use Lombok with Java classes in Kotlin. We look at how this is possible and its limitations.
Learn how data can be serialized using Kotlin’s kotlinx-serialization library.
Learn how to convert a date time string to Instant in Kotlin.
A quick and practical guide to serializing Kotlin classes to JSON with default values.
Learn how to use several common extension functions for strings in Kotlin.