Not a native PD solution, but this is exactly what the Unix "basename" command does.
On Monday, November 30, 2015, Simon Iten <itensimon@gmail.com> wrote:
> hi list,
>
> is it possible to get only the filename from openpanel? (in vanilla)
> or to extract the filename from the whole path? (i know this was not possible in earlier versions, but maybe it works somehow now)
>
> cheers
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
--