Returns an array of strings, taking several parameters such as starting- and
end-point, increment, and text prefix.
Parameters
-from
integer, required
Starting Point
-to
integer, required
End Point
-by
integer, required
Incremental Value
-Prefix
string, optional
-Suffix
string, optional
-Pad
boolean, optional
Sample Usage
Usage:
[pk_range:
-from=<integer>,
-to=<integer>,
-by=<integer>,
-prefix=<string>,
-suffix=<string>,
-pad]
"-pad" will insert zeroes in front of numbers with fewer digits than the "-to"
value.
Examples:
[pk_range: 1, 10] ->
array: (1), (2), (3), (4), (5), (6), (7), (8), (9), (10)
[pk_range: -from=8, -to=24, -by=4, -prefix='my_', -suffix='_test', -pad] ->
array: (my_08_test), (my_12_test), (my_16_test), (my_20_test), (my_24_test)
Source Code
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.