$Web IsIndex Parm Len: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 24: | Line 24: | ||
<ul> | <ul> | ||
<li>[[$Web_IsIndex_Name]] | <li>[[<var>$Web_IsIndex_Name]]</var> | ||
<li>[[$Web_IsIndex_Parm]] | <li>[[<var>$Web_IsIndex_Parm]]</var> | ||
<li>[[$Web_Num_IsIndex]] | <li>[[<var>$Web_Num_IsIndex]]</var> | ||
</ul> | </ul> | ||
[[Category:Janus Web Server $functions|$Web_IsIndex_Parm_Len]] | [[Category:Janus Web Server $functions|$Web_IsIndex_Parm_Len]] |
Revision as of 20:17, 12 June 2012
<section begin="desc" />Length of isindex field<section end="desc" />
$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 (see $Web_URL_Parm_Len).
Syntax
<section begin="syntax" /> %RC = $WEB_ISINDEX_[PARM_]LEN( fieldname, occurrence ) <section end="syntax" />
$Web_IsIndex_Len takes two arguments and returns a number, or zero if the field does not exist.
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:
- [[$Web_IsIndex_Name]]
- [[$Web_IsIndex_Parm]]
- [[$Web_Num_IsIndex]]