Learn various methods of counting occurrences of a specific character in a String
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):
Baeldung on Kotlin
- All
- Kotlin Basics (19)
- Kotlin Collections (17)
- Testing (14)
- Kotlin Classes and Objects (14)
- Kotlin (11)
- Kotlin Strings (10)
- Spring (9)
- Kotlin-Java Interop (9)
- Libraries (8)
- Kotlin Concurrency (7)
- Asynchronous Programming (7)
- Kotlin Arrays (6)
- Series (5)
- Kotlin Functions (5)
- Kotlin Server-Side (4)
- Kotlin IO (4)
- Patterns (3)
- Kotlin Web (3)
- Kotlin Numbers (3)
- HTTP Client-Side (3)
- Functional Programming (3)
- Persistence (2)
- Algorithms (2)
- Security (1)
- Kotlin Dates (1)
Kotlin Platform Types
Filed under Kotlin-Java Interop
Learn about platform types in Kotlin how to handle the nullability
Kotlin Collections Guide
Filed under Kotlin Collections, Series
A series of tutorials on working with collections in Kotlin.
Run Kotlin Class From the Command Line
Filed under Kotlin Basics
Learn how to compile a Kotlin class and how to run the class from the command line
Get Character by Index in a Kotlin String
Filed under Kotlin Strings
Learn several ways to get a character from a Kotlin String by index.
Convert List to String in Kotlin
Filed under Kotlin Collections, Kotlin Strings
Learn several ways to convert Lists to Strings using only core Kotlin and the Collections API.
Introduction to Kotest
Filed under Testing
Explore several basic functionalities provided by the Kotest framework.
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.