Visit Mozilla.org

nsAString:Length

From MDC

« XPCOM API Reference

[edit] Summary

The Length function returns the number of storage units in the string's internal buffer (not including the null-terminator if present).

 size_type Length() const;