Difference between revisions of "StringLength"

From Catglobe Wiki
Jump to: navigation, search
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:String_Functions]]
+
{{HelpFiles}}

+
 
 +
==== 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'''
  
====stringLength====
+
Version 4.8
  
Returns the length of a string'''Syntax'''stringLength(''string_exp'')'''Arguments'''''string_exp'': Is a string expression.'''Return type'''Number'''Examples'''stringLength("This string's length is 26");'''Availability'''Version 4.8
+
[[Category:String_Functions]]
__NOTOC__
 
<!-- imported from file: 676.htm-->
 

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