[list trim] works for symbols too! A little known secret.

From: Pd-list <pd-list-bounces@lists.iem.at> on behalf of Hrvoje Radnic via Pd-list <pd-list@lists.iem.at>
Sent: 23 September 2017 13:33
To: Pd-List
Subject: [PD] trim symbols?
 
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
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162