TF++, Miscellaneous classes and modules in C++:
|
tfxx::RangeList<T> tfxx::string::rangelist | ( | const std::string & | s | ) |
read rangelist from string
Reads a comma separated list of range strings an passes tham to the range reading function to build a list of ranges.
The input lists in the string are ranges separated by comma: 4-7,9,13-26
A step size can be specified using the '+' symbol. '5+3-12' means: take every third staring at 5 and ending at 12
Definition at line 98 of file rangestring.h.
References gen_split(), and TFXX_assert.