STRLEN
Syntax
STRLEN key
Module
sortedsetCategories
fast read sortedsetDescription
Returns length of the key's value if it's a string.
Examples
- Go (Embedded)
- CLI
Get the substring of a string value:
vault, err := echovault.NewEchoVault()
if err != nil {
log.Fatal(err)
}
length, err := vault.StrLen("key")
Get the substring of a string value:
> STRLEN key