$Web Hdr Len or $Web Hdr Parm Len: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle"><section begin="desc" />Length of request header field<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Length of request header field<section end="desc" /></span>


$Web_Hdr_Len retrieves the length of a field in a request header.


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


$Web_Hdr_Len retrieves the length of a field in a request header.
==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %RC = $Web_Hdr_Len( fieldname, occurrence )
<p class="syntax"><section begin="syntax" /> %RC = $Web_Hdr_Len( fieldname, occurrence )
<section end="syntax" /></p>
<section end="syntax" /></p>


 
===Syntax terms===
$Web_Hdr_Len takes two arguments and returns a number, or zero if the header does not exist.
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>fieldname</th>
<tr><th>fieldname</th>
Line 19: Line 19:




See also:
==See also==
<ul>
<ul>
<li><var>[[$Web_Hdr_Name]]</var>  
<li><var>[[$Web_Hdr_Name]]</var>  
<li><var>[[$Web_Hdr_Parm]]</var>  
<li><var>[[$Web_Hdr_Parm]]</var>  

Revision as of 21:27, 12 June 2012

<section begin="desc" />Length of request header field<section end="desc" />

$Web_Hdr_Len retrieves the length of a field in a request header.

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

Syntax

<section begin="syntax" /> %RC = $Web_Hdr_Len( fieldname, occurrence ) <section end="syntax" />

Syntax terms

fieldname The name of the header field, returned by $Web_Hdr_Name. Required argument if occurrence not specified, otherwise optional.
occurrence The occurrence number of a header field, or the occurrence number of the header field matching fieldname, if fieldname is specified. Optional argument if fieldname is specified, otherwise it is required.


See also