[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with mapconcat
From: |
Thamer Mahmoud |
Subject: |
Re: problem with mapconcat |
Date: |
Wed, 03 Mar 2010 18:23:42 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Teemu Likonen <tlikonen@iki.fi> writes:
> * 2010-03-03 12:49 (UTC), Christian Wittern wrote:
>
>> I am trying to build a regex with lisp, which inserts a certain string
>> into another string between each character, for example "abc" should
>> turn into "a/b/c".
>
> (mapconcat #'identity (mapcar #'char-to-string "abc") "/")
>
> => "a/b/c"
Another alternative:
(mapconcat 'string (string-to-list "abc") "/")
=> "a/b/c"
- problem with mapconcat, Christian Wittern, 2010/03/03
- Re: problem with mapconcat, Teemu Likonen, 2010/03/03
- Re: problem with mapconcat,
Thamer Mahmoud <=
- Re: problem with mapconcat, Thamer Mahmoud, 2010/03/03
- Re: problem with mapconcat, Christian Wittern, 2010/03/03
- Re: problem with mapconcat, Andreas Röhler, 2010/03/04
- Re: problem with mapconcat, Stephen Berman, 2010/03/04
- Re: problem with mapconcat, Andreas Röhler, 2010/03/04
Re: problem with mapconcat, Dan Davison, 2010/03/04
Re: problem with mapconcat, Kevin Rodgers, 2010/03/04