Core Function StrLen

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> StrLen( <expression> ) </pre> === Description === Returns length of specified string === Parameters === ==== expression ==== The expression to evaluate. === Return Va...")
 
(Example)
Line 24: Line 24:
  
 
<syntaxhighlight lang="sputnik">
 
<syntaxhighlight lang="sputnik">
$len = StringLen("How long am I?");
+
$len = StrLen("How long am I?");
 
MsgBox("String length is: $len");
 
MsgBox("String length is: $len");
  

Revision as of 12:25, 29 November 2011

StrLen( <expression> )

Contents

Description

Returns length of specified string

Parameters

expression

The expression to evaluate.

Return Value

Return the length of the string.

Remarks

None.

Example

$len = StrLen("How long am I?");
MsgBox("String length is: $len");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox