|
%rsstr() Function |
|
|
@rsstr() function ("Reverse Substring") extracts a substring from a string with the given position and length. The difference with %sstr() function is that the @rsstr() operates in the reverse order. Syntax: @sstr(string-expression, position-expression[, length-expression])
Examples: @// 7654321 @rsstr('abcdefg',2,3) @// result: 'def' @rsstr('abcdefg',3) @// result: 'abcde' @rsstr('abcdefg',1,1) @// result: 'g'
See %sstr(), @rsstr(), %sstra(), %sstral(), %sstrb(), %sstrbl()
|