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

Stefan Behnel stefan_ml at behnel.de
Mon Jan 11 10:32:47 CET 2010


Alan Gauld, 11.01.2010 10:07:
> 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. There are quite some parser packages 
available for Python that are easy to use. Pyparsing comes to mind, for 
example.

Stefan



More information about the Tutor mailing list