Luna::BasicString::length

usize length() const

Gets the size of the string, that is, the number of characters in the string, excluding the null terminator.

Return value

Returns the size of the string.