XML Script logo
Extracting Rightstrings
Code
This returns bar: # rightstr("foobar", 4) #
This returns obar: # rightstr("foobar", 3) #
This returns r: # rightstr("foobar", -1) #
This returns foobar: # rightstr("foobar", 0) #
Output
This returns bar: bar
This returns obar: obar
This returns r: r
This returns foobar: foobar
Ref

x.4704

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited