RosettaCodeData/Task/String-prepend/Ursa/string-prepend.ursa

11 lines
133 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
decl string s
# set s to "world"
set s "world"
# prepend "hello "
set s (+ "hello " s)
# outputs "hello world"
out s endl console