SimpleSplitConv

SimpleSplitConv takes a range R (typically a text line) and splits it/tokenizes it on a list of characters. Essentially fields/tokens are split by tabs, semi-colons or comma's and spaces. This compares to C's strtok(str, ", \t;").

This routine happens often in bioinformatics and is a replacement for the much unsafer C strtok. This edition should also handle UTF.

The default is to split on space, newline, tab, semi-colon and comma.

Constructors

this
this(R range, R splits_on)
Undocumented in source.

Members

Functions

opApply
int opApply(int delegate(R) dg)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

list
R list;
split_on
R split_on;
Undocumented in source.

Meta