Well, someone's going to mention it eventually, so it might as well be me...
It sounds like you have control over how the configuration file looks. Have you considered using XML? There are already lots of parsers for it. It'll make things easier on your coworkers and future maintainers too.
"As information travels faster in the modern age, as our days are crawling by so slowly." -- DCFC
In reply to Re: Request For a lil Direction...
by patgas
in thread Advice sought for parsing config file
by snafu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |