RosettaCodeData/Task/String-append/NewLISP/string-append.newlisp

8 lines
116 B
Text
Raw Permalink Normal View History

2015-02-20 09:02:09 -05:00
(setq str "foo")
2015-11-18 06:14:39 +00:00
2015-02-20 09:02:09 -05:00
(push "bar" str -1)
2015-11-18 06:14:39 +00:00
; or as an alternative introduced in v.10.1
(extend str "bar")
2015-02-20 09:02:09 -05:00
(println str)