RosettaCodeData/Task/String-concatenation/Raven/string-concatenation.raven
Ingy döt Net 6f050a029e update
2013-06-05 21:47:54 +00:00

15 lines
369 B
Text

# Cat strings
"First string and " "second string" cat print
# Join
[ "First string" "second string" "third string" ] " and " join print
# print
[ "First string" "second string" "third string" ] each print
# Formatted print
"\n" "Third string" "Second string" "First string" "%s %s %s %s" print
# Heredoc
" - NOT!!" as $x
"This is the only way to do it%($x)s" print