Whoa! I need a quick way to grab the first 30 space-divided words in a simple string. I was thinking of something along the lines of
I think I'm along the right lines here...
yes, I have thought of split but the way i see it, i would split and unneccarily join again. perhaps a simple for loop followed by a substr is the solution?
After a brief discussion in the CBox, I decided that there must a better solution, preferably a regex... any ideas?