$Lstr Len: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 11: Line 11:


==Syntax==
==Syntax==
<p class="syntax">%LEN = $Lstr_Len(longstring)
<p class="syntax"><span class="term">%LEN</span> = <span class="literal">$Lstr_Len</span>(longstring)
</p>
</p>
<p>
<p>

Revision as of 23:39, 12 April 2013

Length of a longstring

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

%LEN = $Lstr_Len(longstring)

%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