Re: [Newbie] removing an element from a sequence
- From: tar@xxxxxxxxxxxxx (Thomas A. Russ)
- Date: 04 Mar 2008 18:15:39 -0800
An[z]elmus wrote:
Function remove (or delete) eliminate all the occurences of an item in
a sequence.
for example:
(remove #\a "adagio") ----> "dgio"
Let say that I need to remove only one occurence at a time, for exmple
I may need to remove the #\a at index 2 in "adagio" and obtain
as a result "adgio".
You mean like:
(remove #\a "adagio" :start 2 :count 1)
I have not yet figured out how to do it properly.
Look at <http://www.lisp.org/HyperSpec/FrontMatter/index.html> to find
teh full documentation of the Lisp functions.
--
Thomas A. Russ, USC/Information Sciences Institute
.
- References:
- [Newbie] removing an element from a sequence
- From: An[z]elmus
- Re: [Newbie] removing an element from a sequence
- From: Pascal Costanza
- [Newbie] removing an element from a sequence
- Prev by Date: Re: is free, open source software ethical?
- Next by Date: Re: removing an element from a sequence
- Previous by thread: Re: [Newbie] removing an element from a sequence
- Next by thread: Re: removing an element from a sequence
- Index(es):
Relevant Pages
|