AttentionThis page documents an earlier version. Go to the latest version.
This command finds the length of the string value that is associated with the given
keyis associated with a non-string value, an error is raised.
keydoes not exist, 0 is returned.
Returns length of the specified string.
$ SET yugakey "string value"
$ STRLEN yugakey
$ STRLEN undefined_key