[PD] trim symbols?

Dan Wilcox danomatika at gmail.com
Sat Sep 23 15:40:49 CEST 2017


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 at lists.iem.at wrote:
> 
> Message: 2
> Date: Sat, 23 Sep 2017 12:33:36 +0000 (UTC)
> From: Hrvoje Radnic <hrvojeradnic at yahoo.com <mailto:hrvojeradnic at yahoo.com>>
> To: Pd-List <pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>>
> Subject: [PD] trim symbols?
> Message-ID: <103677175.8276496.1506170016635 at mail.yahoo.com <mailto:103677175.8276496.1506170016635 at 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/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170923/a0885a26/attachment.html>


More information about the Pd-list mailing list