I'm looking for a way to isolate part of a path, the length of the path could be anything. Basically take
and isolate just bin from that. would have to work with different lengths though.
again need to isolate just bin without the leading /. How would I go about that?