Difference between revisions of "StringLength"
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | | + | {{HelpFiles}} |
− | ==== stringLength ==== | + | ==== stringLength ==== |
− | Returns the length of a string | + | Returns the length of a string |
− | '''Syntax''' | + | '''Syntax''' |
− | |||
− | + | stringLength(''string_exp'') | |
− | ''string_exp'' | ||
− | ''' | + | '''Arguments''' |
− | |||
− | '''Examples''' | + | ''string_exp'': Is a string expression. |
− | stringLength("This string's length is 26"); | + | |
+ | '''Return type''' | ||
+ | |||
+ | Number | ||
+ | |||
+ | '''Examples''' | ||
+ | |||
+ | ''number n = stringLength("This string's length is 26");'' | ||
+ | |||
+ | ''print(n); //Result: 26'' | ||
+ | |||
+ | '''Availability''' | ||
− | |||
Version 4.8 | Version 4.8 | ||
[[Category:String_Functions]] | [[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