diff --git a/kotlin.md b/kotlin.md index 68402027b..36638449a 100644 --- a/kotlin.md +++ b/kotlin.md @@ -26,6 +26,7 @@ val inferredString = "Adam" val name = "Adam" val greeting = "Hello, " + name val greetingTemplate = "Hello, $name" +val interpolated = "Hello, ${name.toUpperCase()}" ``` ### Numbers @@ -399,4 +400,4 @@ References * [Collections Documentation](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/index.html) _(kotlinlang.org)_ * [Functions Documentation](https://kotlinlang.org/docs/reference/functions.html) _(kotlinlang.org)_ * [Classes Documentation](https://kotlinlang.org/docs/reference/classes.html) _(kotlinlang.org)_ -* [Destructuring Declarations](https://kotlinlang.org/docs/reference/multi-declarations.html) _(kotlinlang.org)_ \ No newline at end of file +* [Destructuring Declarations](https://kotlinlang.org/docs/reference/multi-declarations.html) _(kotlinlang.org)_