Anonymous user
Copy a string: Difference between revisions
Emacs Lisp: Actually show how to copy a string
(added Ol) |
(Emacs Lisp: Actually show how to copy a string) |
||
Line 951:
=={{header|Emacs Lisp}}==
<lang Lisp>▼
<lang Lisp>(
(str2 (copy-sequence str1)))
(eq str1 str2)</lang>▼
(eq str1 str1-ref) ;=> t
(equal str1 str1-ref) ;=> t
(equal str1 str2)) ;=> t
=={{header|Erlang}}==
|