Add STRSLICE(str, start, end)
function with zero-based and indexing
#1625
Labels
Milestone
STRSLICE(str, start, end)
function with zero-based and indexing
#1625
Based on ISSOtm/rsgbds#9
This would be an alternative to
STRSUB
without the 1-based indexing issue and with a negative end index possibility.This would let you do
STRSLICE("string", start, end)
instead of the more verboseSTRSUB("string", start, STRLEN("string") - end - start)
. (And when you want a fixed length,STRSLICE("string", start, start + length)
is not much more verbose thanSTRSUB("string", start, length)
, though either would still be an option.)The text was updated successfully, but these errors were encountered: