See [p_basename] in rc-patches: https://github.com/danomatika/rc-patches https://github.com/danomatika/rc-patches
On Sep 23, 2017, at 3:15 PM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Sat, 23 Sep 2017 12:33:36 +0000 (UTC) From: Hrvoje Radnic <hrvojeradnic@yahoo.com mailto:hrvojeradnic@yahoo.com> To: Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: [PD] trim symbols? Message-ID: <103677175.8276496.1506170016635@mail.yahoo.com mailto:103677175.8276496.1506170016635@mail.yahoo.com> Content-Type: text/plain; charset="utf-8"
Hi! I would like to display the name of the .wav file loaded from the HDD (using [openpanel]), but, without a full path and without the file extension. For example, [openpanel] outputs "symbol C:/Users/Hrvoje/Desktop/my_patches/SAMP_SEQ/samples/BD.wav" and I just want "BD" to be displayed. Is it possible in pd vanilla? Thank you for the help!Cheers! Hrvoje Radnic
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/