Matt wrote:
> How do I go about searching and deleting from a block?
>
> Ex.
>
> ["hello" "there" "this" "is" "an" "Example"]
>
> I want to search for "this" and delete it to result with:
>
> ["hello" "there" "is" "an" "Example"]

>> help remove-each
USAGE:
    REMOVE-EACH 'word data body

DESCRIPTION:
     Removes a value from a series for each block that returns TRUE.
     REMOVE-EACH is a native value.

ARGUMENTS:
     word -- Word or block of words to set each time (will be local) (Type:
get-word word b
lock)
     data -- The series to traverse (Type: series)
     body -- Block to evaluate. Return TRUE to remove. (Type: block)
>> remove-each Item X: ["hello" "there" "this" "is" "an" "Example"] [Item =
"this"]
== ["hello" "there" "is" "an" "Example"]
>> probe X
["hello" "there" "is" "an" "Example"]
== ["hello" "there" "is" "an" "Example"]

Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to