length
returns the number of characters in a given string
(string subject) -> long
Returns the number of characters in the given string.
Returns nil
if subject is nil
.
Parameters
Name | Type | Description |
---|---|---|
subject |
string | The string to check |