$Lstr 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 a longstring<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Length of a longstring<section end="desc" /></span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Lstr_Len function is [[to be entered]].</p>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Lstr_Len function is the [[Length (String function)]].</p>


This function takes a string or longstring input and produces a numeric output that is the length of the input string or longstring.  
This function takes a string or longstring input and produces a numeric output that is the length of the input string or longstring.  
Line 9: Line 9:


The first argument is an arbitrary string or longstring
The first argument is an arbitrary string or longstring
==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %LEN = $Lstr_Len(longstring)
<p class="syntax"><section begin="syntax" /> %LEN = $Lstr_Len(longstring)
Line 14: Line 15:
<p class="caption">$Lstr_Len Function
<p class="caption">$Lstr_Len Function
</p>
</p>
<p class="caption">%LEN is the length of :hp1.longstring:ehp1..</p>
<p class="caption">%LEN is the length of ''longstring''</p>
$Lstr_Len can be used wherever $LEN is used but $LEN will cause request cancellation for an input LONGSTRING of length greater than 255 bytes.  
$Lstr_Len can be used wherever $LEN is used but $LEN will cause request cancellation for an input LONGSTRING of length greater than 255 bytes.  
For more information see :hdref refid=lstr..


$Lstr_Len is only available in ''[[Sirius Mods]]'' Version 6.2 and later.<p>
$Lstr_Len is only available in ''[[Sirius Mods]]'' Version 6.2 and later.<p>

Revision as of 21:43, 10 February 2011

<section begin="desc" />Length of a longstring<section end="desc" />

Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Lstr_Len function is the Length (String function).

This function takes a string or longstring input and produces a numeric output that is the length of the input string or longstring.

The $Lstr_Len function accepts one argument and returns a numeric result that is the length of the first argument.

The first argument is an arbitrary string or longstring

Syntax

<section begin="syntax" /> %LEN = $Lstr_Len(longstring) <section end="syntax" />

$Lstr_Len Function

%LEN is the length of longstring

$Lstr_Len can be used wherever $LEN is used but $LEN will cause request cancellation for an input LONGSTRING of length greater than 255 bytes.

$Lstr_Len is only available in Sirius Mods Version 6.2 and later.

Products authorizing $Lstr_Len