summaryrefslogtreecommitdiffhomepage
path: root/kotlin.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion ElensĂșlĂ« <andre@oire.org>2017-08-23 16:53:19 +0300
committerGitHub <noreply@github.com>2017-08-23 16:53:19 +0300
commitb903cac07dc5afd5114d0c526a0a2fef4bac62f8 (patch)
tree64048ae2fa841219d43f322bcf34070c90fe9eb7 /kotlin.html.markdown
parent9c5a67ca0f3c989ef31141f83d64fba10b93b059 (diff)
parent6350beb6e6549d5a1df51f8068e3dcf461758cff (diff)
Merge pull request #2785 from reddyalready/Kotlin-templ-str-print-output
[kotlin/en] Added print output for template string command
Diffstat (limited to 'kotlin.html.markdown')
-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.