$Web_IsIndex_Parm_Len

From m204wiki
Jump to navigation Jump to search

Length of isindex field

$Web_IsIndex_Len retrieves the length of an isindex field in a URL. $Web_IsIndex_Parm_Len is a somewhat more syntactically correct synonym for $Web_IsIndex_Len.

Since isindex fields are more commonly called "URL parameters," you can use another synonym for this $function, $Web_URL_Parm_Len.

$Web_IsIndex_Len takes two arguments and returns a number, or zero if the field does not exist.

Syntax

%rc = $Web_IsIndex_[Parm_]Len( fieldname, occurrence )

Syntax terms

fieldname The name of the isindex field, returned by $Web_IsIndex_Name. Required argument if occurrence not specified, otherwise optional.
occurrence The occurrence number of an isindex field, or the occurrence number of the isindex field matching 'fieldname', if fieldname is specified. Optional argument if fieldname is specified, otherwise it is required.

See also