summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--kotlin.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/kotlin.html.markdown b/kotlin.html.markdown
index ca11ee3c..0c787d7e 100644
--- a/kotlin.html.markdown
+++ b/kotlin.html.markdown
@@ -65,7 +65,7 @@ fun helloWorld(val name : String) {
A template expression starts with a dollar sign ($).
*/
val fooTemplateString = "$fooString has ${fooString.length} characters"
- println(fooTemplateString)
+ println(fooTemplateString) // => My String Is Here! has 18 characters
/*
For a variable to hold null it must be explicitly specified as nullable.