Docs › Commands › StringsSUBSTRSince 1.1.0StringsSyntaxSUBSTR key start stopFlags: readonlyACL categories: @read, @slow, @stringArity: 4Another name for GETRANGE, kept for old clients. Examples > SET k "hello world" OK > SUBSTR k 0 4 "hello" Related commandsGETRANGESTRLENSETRANGESETNXSETEXSETPSETEXMSETNXMSETEXMSET