[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating string from list of strings
From: |
Joe Casadonte |
Subject: |
Re: Creating string from list of strings |
Date: |
14 Oct 2002 13:09:42 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 |
On 14 Oct 2002, Stefan Monnier wrote:
>>>>>> "Joe" == Joe Casadonte <jcasadonte@northbound-train.com>
>>>>>> writes:
>> (defun my-perl-join (join-string elements)
> (mapconcat 'identity join-string element))
Well, it should be:
(mapconcat 'identity elements join-string)
as in:
(mapconcat 'identity (list "foo" "bar" "baz") "/")
but it is tre cool nonetheless! I never knew mapconcat could do
that. Learn something new each day....
Thanks!
--
Regards,
joe
Joe Casadonte
jcasadonte@northbound-train.com
------------------------------------------------------------------------------
Llama Fresh Farms => http://www.northbound-train.com
Gay Media Resource List => http://www.northbound-train.com/gaymedia.html
Perl for Win32 => http://www.northbound-train.com/perlwin32.html
Emacs Stuff => http://www.northbound-train.com/emacs.html
Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
Live Free, that's the message!
------------------------------------------------------------------------------