[Tutor] what is the equivalent function to strtok() in c++

Alan Gauld alan.gauld at btinternet.com
Mon Jan 11 11:51:50 CET 2010


"Stefan Behnel" <stefan_ml at behnel.de> wrote

>> For more sophisticated functionality use the re module or a specialised 
>> parser.
>
> Just a quick note here, "specialised parser" might sound like something 
> that's hard to write. It's not.

Good point. I meant one of the many existing parsing packages for
specific purposes such as XML/HTML, csv, configfile etc - or pyparsing
for more general purpose work. I did not mean to write a specialised parser
from scratch, although occasionally that may be needed but usually not.

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/ 




More information about the Tutor mailing list