|
%sstr() Function |
|
|
%sstr() functions extracts a substring from a string with the given position and length. Syntax: %sstr(string-expression, position-expression[, length-expression])
Examples: %sstr('abcdefg',2,3) returns: 'bcd'
%sstr('abcdefg',10,3) returns: ''
%sstr('abcdefg',2,10) returns: 'bcdefg'
%sstr('abcdefg',2) returns: 'bcdefg'
|