Kotlin allows embedding variables and expressions directly into strings using the $ symbol.
← Kotlin theorytheory 0/50 · 0%
Fundamentals · easy
5. String Templates
Easy string concatenation.
Check your understanding
1. How to embed an expression?
2. How to print $ literally?