T
HE
M
ETA
-
HTML
L
ANGUAGE
R
EFERENCE
M
ANUAL
[
TOC
]
Edit Documentation Pointer
Function Name:
Manual Section:
Alists
Arithmetic-Operators
Arrays
Authorization-Tags
Code-Profiling
Color-Manipulation
Compiler-Module
Csv-Module
Database-Commands
Dates-And-Times
Debugging-Commands
Direct-Dbm-Access
Dynamic-Modules
Echo-Module
Elsewhen-Module
Example-Module
File-Operators
Flow-Control
Generic-Sql-Interface
Html-Helpers
Image-Module
Language-Operators
Machine-Module
Macro-Commands
Md5-Module
Meta-Html-Tcp/Ip-Servers
Moddate-Module
Network-Appendix
Packages
Page-Operators
Page-Variables
Pagecount-Appendix
Powerstrip-System-Tags
Primitive-Operators
Relational-Operators
Server-Variables
Session-Operators
Session-Server-Module
Statistics-Module
Stream-Operators
String-Operators
Syslog-Module
Using-Gnuplot
Variables
New Section
Function Type:
Simple
Complex
Variable Reference
Search Keywords:
Required Args:
Optional Args:
Keyword Args:
Description:
Look up (and return) the index of <var item> in the contents of the array referenced by <var arrayvar>. If <var item> is not found, then <code>array-member</code> returns the empty string. If <var caseless> is non-empty, then the comparison is done without regard to character case. Otherwise, character case is significant in the location of the item. If a function name is passed, as in <var compare=func>, it should be the name of a function which receives two required arguments -- the item that is to be looked for, and an element of the array that this item is to be compared against, and an optional keyword argument of "caseless". If the function returns a non-empty string, then this item is considered a match. By default, string comparison is done on the elements. <complete-example> <set-var array[] = <prog this another multi word thing>> <array-member "multi word" array> </complete-example>
The
META-HTML
Reference Manual V2.0
Copyright © 1995, 1998,
Brian J. Fox
Found a bug? Send mail to
bug-manual@metahtml.org