$Lstr Len: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
m (misc formatting) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
<span class="pageSubtitle">Length of a longstring</span> | <span class="pageSubtitle">Length of a longstring</span> | ||
<p class="warn"><b>Note: </b> | <p class="warn"><b>Note:</b> Many $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the <var>$Lstr_Len</var> function is the <var>[[Length (String function)|Length]]</var> function.</p> | ||
<var>$Lstr_Len</var> takes a <var>String</var> or <var>[[Longstrings|Longstring]]</var> input, and it produces a numeric output that is the length of the input <var>String</var> or <var>Longstring</var>. | |||
==Syntax== | ==Syntax== | ||
<p class="syntax"><span class="term">%len</span> = <span class="literal">$Lstr_Len</span>(<span class="term">longstring</span>) | <p class="syntax"><span class="term">%len</span> = <span class="literal">$Lstr_Len</span>(<span class="term">longstring</span>) | ||
</p> | </p> | ||
<p> | <p> | ||
<var class="term">%len</var> is the length of | <var class="term">%len</var> is the length of <var class="term">longstring</var>. </p> | ||
<p> | |||
<var class="term">longstring</var> is an arbitrary <var>String</var> or <var>Longstring</var>. </p> | |||
==Usage notes== | ==Usage notes== | ||
<var>$Lstr_Len</var> can be used wherever <var>[[$Len]]</var> is used, but <var>$Len</var> | <var>$Lstr_Len</var> can be used wherever <var>[[$Len]]</var> is used, but <var>$Len</var> causes request cancellation for an input <var>Longstring</var> of length greater than 255 bytes. | ||
==Products authorizing {{PAGENAMEE}}== | ==Products authorizing {{PAGENAMEE}}== | ||
<ul class="smallAndTightList"> | <ul class="smallAndTightList"> | ||
<li>[[Sirius | <li>[[Sirius Functions]]</li> | ||
<li>[[Fast/Unload User Language Interface]]</li> | <li>[[Fast/Unload User Language Interface]]</li> | ||
<li>[ | <li>[[Media:JoclrNew.pdf|Janus Open Client]]</li> | ||
<li>[ | <li>[[Media:JosrvrNew.pdf|Janus Open Server]]</li> | ||
<li>[[Janus Sockets]]</li> | <li>[[Janus Sockets]]</li> | ||
<li>[[Janus Web Server]]</li> | <li>[[Janus Web Server]]</li> | ||
<li> | <li>Japanese functions</li> | ||
<li>[ | <li>[[Media:SirfieldNew.pdf|Sir2000 Field Migration Facility]]</li> | ||
</ul> | </ul> | ||
[[Category:$Functions|$Lstr_Len]] | [[Category:$Functions|$Lstr_Len]] |
Latest revision as of 20:07, 26 June 2018
Length of a longstring
Note: Many $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Lstr_Len function is the Length function.
$Lstr_Len takes a String or Longstring input, and it produces a numeric output that is the length of the input String or Longstring.
Syntax
%len = $Lstr_Len(longstring)
%len is the length of longstring.
longstring is an arbitrary String or Longstring.
Usage notes
$Lstr_Len can be used wherever $Len is used, but $Len causes request cancellation for an input Longstring of length greater than 255 bytes.