The C++ way of splitting strings into tokens. Works only with gcc 3.0 since the older gcc has problems with the templates.