First page
Back
Continue
Last page
Graphics
SPLIT (cont.)
// if we found some nonwhitespace characters
if ( i != j ) {
// copy from s starting at i and taking j-i chars
ret.push_back(s.substr(i, j-i));
i = j;
}
}
return ret;
}