STRLEN
Attention
This page documents an earlier version. Go to the latest (v2.3) version.Synopsis
STRLEN key
This command finds the length of the string value that is associated with the given key
.
Return value
Returns length of the specified string.
Examples
$ SET yugakey "string value"
"OK"
$ STRLEN yugakey
12
$ STRLEN undefined_key
0