Difference between revisions of "String.len"
From GiderosMobile
Line 12: | Line 12: | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (number) <translate>the length of the string</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>the length of the string</translate><br/> | ||
+ | |||
+ | {{String}} |
Revision as of 22:08, 11 February 2020
Available since: Gideros 2011.6
Class: string
Description
Receives a string and returns its length. The empty string "" has length 0. Embedded zeros are counted, so "a\000bc\000" has length 5.
(number) = string.len(s)
Parameters
s: (string) string for which to measure length
Return values
Returns (number) the length of the string