Anonymous user
String concatenation: Difference between revisions
→{{header|Nim}}
(Simplified first example. Added missing "import strutils". Added example with "format".) |
|||
Line 1,342:
# Alternate form providing automatic conversion of arguments to strings.
echo "$# $# $#".format(str, 123, "HelloWorld!")
# -> String 123 HelloWorld!</pre>
=={{header|NS-HUBASIC}}==
|