`|Redis Documentation| `_
**StrlenCommand: Contents**
`STRLEN \_key\_ (Redis > <#STRLEN%20_key_%20(Redis%20%3E>`_
`Return value <#Return%20value>`_
StrlenCommand
=============
#sidebar `StringCommandsSidebar `_
STRLEN \_key\_ (Redis >
=======================
2.1.8) = *Time complexity: O(1)*
Returns the length of the string stored at the specified *key*.
Return value
------------
`Integer reply `_, specifically: the length of the
string.
.. |Redis Documentation| image:: redis.png