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

11 lines
133 B
Plaintext

decl string s
# set s to "world"
set s "world"
# prepend "hello "
set s (+ "hello " s)
# outputs "hello world"
out s endl console