Difference between revisions of "StringLength"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{HelpFiles}}
+
{{HelpFiles}}  
 +
 
 
==== stringLength  ====
 
==== stringLength  ====
  
Line 18: 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 11: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