<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">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].</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 4:08 PM, Simon Iten <span dir="ltr"><<a href="mailto:itensimon@gmail.com" target="_blank">itensimon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi list,<br>
<br>
is it possible to get only the filename from openpanel? (in vanilla)<br>
or to extract the filename from the whole path? (i know this was not possible in earlier versions, but maybe it works somehow now)<br>
<br>
cheers<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br></div>