Tcl Powered!NeoWebScript

Home
 
Download
User Info
New User FAQ
Tutorials
Demos
Commands
Variables
Troubleshooting
Sysop Info
Sysop FAQ
Theory
Installation
Management
Tests
Troubleshooting
Feedback
Resources
Release Notes
Credits
Disclaimer
LREMOVE - NeoWebScript
Synopsis * Description * Keywords

Remove elements in a list

Synopsis

  • lremove ?switches? list pattern ?pattern pattern ...?

Description

Lremove returns a new list formed by removing one or more elements of list matching the pattern arguments. Matching is determined by the following supported switches:

-exact
This is the default matching criteria, equivalent to cequal.
-glob
Uses C-shell globbing similar to string match.
-regexp
Uses Unix regular expressions similar to regexp.
-index
Instead of string matching, removes elements where pattern is the index of the element within list.
-all
Removes every element in pattern. The default is to remove only the first element matched or indexed.
--
Marks the end of switches.

Keywords

element, list, remove

Copyright © 1995-1999 NeoSoft Inc., 1770 St. James Place, Suite 500, Houston, TX 77056 USA. All Rights Reserved