The newest vanilla versions have [list fromsymbol] and [list tosymbol]. If you write it the output of [list fromsymbol] into an array using [array set] you can find the last / character (ascii 47), [array get] the rest ([list length] will help you figure out how much to get), and turn it back into a symbol with [list tosymbol].
On Mon, Nov 30, 2015 at 4:08 PM, Simon Iten <itensi...@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 >
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list