Explore Library
KotlinIntroduction & Core Concepts

50 items

QuizBeginner

String Templates

Kotlin string templates embed values into strings using the $ symbol.

Given `val name = "Ann"`, how do you embed it in a string using a template?