I have a text file with formatted text... It is formatted into a branch-type layout already, but like this:
I've been trying to parse the text file formatted like this into a TreeView control, but I just can't do it.
Any help is much appreciated.
Thanks in advance.
Code:
"1key" "text" "command"
{
"1key"
{
"1key" "text" "command"
"2key" "text" "command"
}
"2key"
{
"1key" "text" "command"
"2key" "text" "command"
}
}
I've been trying to parse the text file formatted like this into a TreeView control, but I just can't do it.
Any help is much appreciated.
Thanks in advance.