$Lstr Len: Difference between revisions
Jump to navigation
Jump to search
m (link repair) |
m (misc formatting) |
||
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">longstring</var></p> | <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}}== |
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.