If I have a series of strings that have this base format:
"[id value]"//id and value are space delimited. id will never have spaces
They can then be nested like this:
[a]
[a [b value]]
[a [b [c [value]]]
So every item can have 0 or 1 value entries.
What is the best approach to go about parsing this format? Do I just use stuff like string.Split() or string.IndexOf() or are there better methods?