<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1506180984812_15517">Wow, thanks everybody for great solutions! <br></div><div id="yui_3_16_0_ym19_1_1506180984812_15516"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1506180984812_15493">Ingo's answer is the most satisfying for me because it stays in vanilla. For now, I will just subpatch it in my project and use it as a reference, but I must admit it will take some time before I really understand every part of that patch.</div><div dir="ltr"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1506180984812_15606">All the best!<br></div><div id="yui_3_16_0_ym19_1_1506180984812_15378"><span></span></div><div id="yui_3_16_0_ym19_1_1506180984812_15302"> </div><div class="signature" id="yui_3_16_0_ym19_1_1506180984812_15305">Hrvoje Radnic<br>http://soundcloud.com/sumovi-protiv-valova <br>00385(0)915225162</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1506180984812_15518"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1506180984812_15522" style="display: block;">  <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1506180984812_15521"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1506180984812_15520"> <div dir="ltr" id="yui_3_16_0_ym19_1_1506180984812_15519"> <font id="yui_3_16_0_ym19_1_1506180984812_15524" size="2" face="Arial"> <hr id="yui_3_16_0_ym19_1_1506180984812_15523" size="1"> <b><span style="font-weight:bold;">From:</span></b> Ingo Stock <mail@ingostock.de><br> <b><span style="font-weight: bold;">To:</span></b> pd-list@lists.iem.at <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, September 23, 2017 3:32 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [PD] trim symbols?<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1506180984812_15620"><br><div dir="ltr" id="yui_3_16_0_ym19_1_1506180984812_15621">You can use [list fromsymbol] to convert the symbol to a list of ASCII<br clear="none">values and than work on that. See attached patch, it should do what you<br clear="none">want.<br clear="none"><br clear="none">Note that the patch assumes that the ending (like .wav) is always 4<br clear="none">characters. Also it uses a simple list-drip mechanism that should be<br clear="none">efficient for small lists, in doubt use list-drip of list-abs instead.<br clear="none"><br clear="none">best wishes, ingo<br clear="none"><br clear="none"><div class="yqt1218330165" id="yqtfd89587"><br clear="none">On 23/09/17 14:33, Hrvoje Radnic via Pd-list wrote:<br clear="none">> Hi!<br clear="none">> <br clear="none">> I would like to display the name of the .wav file loaded from the HDD<br clear="none">> (using [openpanel]), but, without a full path and without the file<br clear="none">> extension. For example, [openpanel] outputs "symbol<br clear="none">> C:/Users/Hrvoje/Desktop/my_patches/SAMP_SEQ/samples/BD.wav" and I just<br clear="none">> want "BD" to be displayed. Is it possible in pd vanilla? Thank you for<br clear="none">> the help!<br clear="none">> Cheers!<br clear="none">>  <br clear="none">> Hrvoje Radnic<br clear="none">> <a shape="rect" href="http://soundcloud.com/sumovi-protiv-valova" target="_blank" id="yui_3_16_0_ym19_1_1506180984812_15630">http://soundcloud.com/sumovi-protiv-valova</a><br clear="none">> 00385(0)915225162<br clear="none">> <br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> <a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at" id="yui_3_16_0_ym19_1_1506180984812_15649">Pd-list@lists.iem.at</a> mailing list<br clear="none">> UNSUBSCRIBE and account-management -> <a shape="rect" href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br clear="none">> </div></div><div class="yqt1218330165" id="yqtfd93378">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br><br></div> </div> </div>  </div></div></body></html>