I have a program that uses an environment variable to get a list of paths, like $PATH. I would like to know the easiest way to parse out the individual paths from this environment variable.
Asked
Active
Viewed 36 times
0
-
4use strtok() function. – Pawan Oct 04 '15 at 04:00
-
3http://stackoverflow.com/questions/9210528/split-string-with-delimiters-in-c – kaylum Oct 04 '15 at 04:02