>>-SUBSTR(string,n--+-------------------------+--)------------->< +-,--+--------+--+------+-+ +-length-+ +-,pad-+
LENGTH(string)
, only pad characters are returned.
Example 7.84. Builtin function SUBSTR
SUBSTR("abc",2) -> "bc" SUBSTR("abc",2,4) -> "bc " SUBSTR("abc",2,6,".") -> "bc...."
Note