Difference between revisions of "StringLength"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
  
+
{{HelpFiles}}
  
 
==== stringLength  ====
 
==== stringLength  ====
Line 19: Line 19:
 
'''Examples'''  
 
'''Examples'''  
  
stringLength("This string's length is 26");  
+
''number n = stringLength("This string's length is 26");''
 +
 
 +
''print(n); //Result: 26''
  
 
'''Availability'''  
 
'''Availability'''  

Latest revision as of 12:58, 22 December 2011



stringLength

Returns the length of a string

Syntax

stringLength(string_exp)

Arguments

string_exp: Is a string expression.

Return type

Number

Examples

number n = stringLength("This string's length is 26");

print(n); //Result: 26

Availability

Version 4.8