0PricingLogin
Kotlin Multiplatform Academy · Lesson

Strings, Numbers & Collections Everywhere

Core stdlib types that behave the same on all targets.

One Toolbox, Every Target

The Kotlin stdlib ships with the language itself, so its core types behave the same on Android, iOS, desktop and beyond.

Strings Just Work

The String type is fully multiplatform. You can declare and combine text in commonMain and trust it everywhere.

val name: String = "Ada"
val hi = "Hello, " + name

All lessons in this course

  1. Strings, Numbers & Collections Everywhere
  2. map, filter & fold in Shared Code
  3. Dates with kotlinx-datetime
  4. What Is NOT in Common stdlib
← Back to Kotlin Multiplatform Academy