[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EXPLODE/IMPLODE equivalents
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: Re: EXPLODE/IMPLODE equivalents
- From: nathan@bristol.st.com
- Date: Wed, 19 Jun 1996 10:21:30 +0100 (BST)
- In-reply-to: <9606182234.AA00356@gnawk.dial.eunet.es> from "Juan Jordana Jord" at Jun 19, 96 02:00:26 am
Juan Jordana Jord writes:
>
>
> Is there any CLISP equivalent to the atom manipulating functions
> IMPLODE and EXPLODE ??
> (also ATOMCAR seems undefined even though readline shows it )
CLISP has strings as first class objects, therefore IMPLODE and EXPLODE
are not required. To get at the characters in a symbol use princ-to-string
and then elt. To create a symbol from a string use read-from-string.
to stick characters together, either use a string array with a fill
pointer or use concatenate.
nathan
--
Nathan Sidwell Holder of the Xmris home page
Chameleon Architecture Group at SGS-Thomson, formerly Inmos
http://www.pact.srf.ac.uk/~nathan/ Tel 0117 9707182
nathan@pact.srf.ac.uk or nathan@inmos.co.uk or nathan@bristol.st.com