string::size_type lastPos = str.find_first_not_of(delimiters,0);
string::size_type pos = str.find_first_of (delimiters,lastPos);
while (string::npos != pos || string::npos != lastPos) {
string::size_type lastPos = str.find_first_not_of(delimiters,0);
string::size_type pos = str.find_first_of (delimiters,lastPos);
while (string::npos != pos || string::npos != lastPos) {