NoteClick here to go to documentation for the latest version of YugaByte DB.
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