categorized question
QandAEditors
I need to separate the filename and path from a string.
e.g.
$a = "/root/subroot/subsubroot/filename";
I want to separate filename and the path.
i.e. The output should be
$b = "/root/subroot/subsubroot/"
$c = "filename"
Thanks
1826