Difference between revisions of "StringLength"
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{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''' | ||
− | + | Version 4.8 | |
− | + | [[Category:String_Functions]] | |
− | |||
− |
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