X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/efc3408748061a08ec5ff18e392c30f31f5094a2..06e09c9b586d0e2c5d91dc596f871be56c6e0971:/doc/SubstrCommand.html diff --git a/doc/SubstrCommand.html b/doc/SubstrCommand.html deleted file mode 100644 index b5f4f792..00000000 --- a/doc/SubstrCommand.html +++ /dev/null @@ -1,52 +0,0 @@ - - - -
- - - -Return a subset of the string from offset start to offset end(both offsets are inclusive).Negative offsets can be used in order to provide an offset starting fromthe end of the string. So -1 means the last char, -2 the penultimate andso forth.-
The function handles out of range requests without raising an error, butjust limiting the resulting range to the actual length of the string.-
-redis> set s "This is a string" -OK -redis> substr s 0 3 -"This" -redis> substr s -3 -1 -"ing" -redis> substr s 0 -1 -"This is a string" -redis> substr s 9 100000 -" string" -- -