Function BasicString.opDollar

Returns the length of the string, in terms of number of characters.

size_t opDollar() const pure nothrow @nogc scope @safe;

Same as length().