Crop characters with variables.
ArborX


Summary
Crop characters from a string using variable values.

This example crops characters from a string using variable values.

The following examples will assume that this assignment has taken place:

 ^lg=abcdefghijklmnopqrstuvwxyz 1
 ^a=3 2
 ^b=5 3
 ^c=15 4

Then:

 ^lg[^a..8]

lg = "cdefgh"

 ^lg[^c..]

lg = "opqrstuvwxyz"

 ^lg]^b..^c[

lg = "lmnopqrstuv"

 ^lg]..^a[

lg = "xyz"


Document created on 08-Feb-2003 (revision 1)