hello Jules,
is here a special reason why this function is declared as private ?
I often use such function to get the real path part from a file name. Now I needed this Juce again.
regards
elli
hello Jules,
is here a special reason why this function is declared as private ?
I often use such function to get the real path part from a file name. Now I needed this Juce again.
regards
elli
Why don’t you use File::getParentDirectory() instead?
Yes - it's a bad idea to work directly with strings when manipulating paths. Always work via the File class, and it'll save you from a lot of pitfalls.
you are right, I was confused about the name "getParentDirectory()". Now it works as expected.