Re:String tokenization in C
by yason on Sunday December 16, 2018 @06:49AM
(#18692717)
Unless you're using a pre-specified configuration file format (e.g. TOML), then parsing configuration files requires a general parsing library.
If you have needs that require a general parsing library then why are you criticizing strtok()? It doesn't parse XML either, not C source code, nor any unspecified configuration file formats.
If you have needs that require a general parsing library then why are you criticizing strtok()? It doesn't parse XML either, not C source code, nor any unspecified configuration file formats.