Posted 07 September 2016 - 07:18 PM
I've been fiddling around with the string library for a bit now, and I haven't found a way to go "up" in a directory using the string library.
Example:
Let's say you're in the directory "foo/bar" and you want to go up.
You'd want to end up in "foo/".
This is basically my problem, I can't get it to work.
Any tips or solution is more than appreciated.
Example:
Let's say you're in the directory "foo/bar" and you want to go up.
You'd want to end up in "foo/".
This is basically my problem, I can't get it to work.
Any tips or solution is more than appreciated.