Return the size of the string.
size_type size() const;
Returns the number of characters stored in the string, excluding the null terminator.
Constant.