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...")
 
m (1 revision)
 
(2 intermediate revisions by one user not shown)
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");
  

Latest revision as of 12:38, 14 June 2015

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