blob: 99a9c5522c4833708f9839f4d8f886ea76440d70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Returns the length of the string value stored at `key`. An error is returned
when `key` holds a non-string value.
@return
@integer-reply: the length of the string at `key`, or `0` when `key` does not
exist.
@examples
```cli
SET mykey "Hello world"
STRLEN mykey
STRLEN nonexisting
```
|