[PD] trim symbols?

Liam Goodacre liamg_uw at hotmail.com
Sat Sep 23 15:15:23 CEST 2017


[list trim] works for symbols too! A little known secret.
________________________________
From: Pd-list <pd-list-bounces at lists.iem.at> on behalf of Hrvoje Radnic via Pd-list <pd-list at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170923/4360d71c/attachment-0001.html>


More information about the Pd-list mailing list