"James Hawkins" truiken@gmail.com writes:
Changelog:
- Rewrite get_parameter so that it can handle empty parameters.
You are still parsing the whole string for every parameter, this is O(n^2) which isn't very nice. What you want is a strtok-style function to retrieve parameters sequentially.