Page 1 of 1

How to get comma text from sample audio filenames (instead of the full path)?

Posted: 20 May 2022, 11:38
by creal
Hello,

I noticed that the outlet "list comma text" gives a comma text of the full path of audio files. I can't use them for displaying a drop-down menu because it's too long (and useless). So I wonder how to only get the filenames instead?

If it's possible, I also wonder how to get rid of the last four characters (the extension)?

What it gives: D:\MAO\Nobody\Audio\Chap1\clap.wav,D:\MAO\Nobody\Audio\Chap1\kick.wav
What I want: clap.wav,kick.wav
What I dream about: clap,kick

Thanks for your help,

creal.

Re: How to get comma text from sample audio filenames (instead of the full path)?

Posted: 20 May 2022, 12:16
by creal
I found out on my own: "Extract filename" and "File delete extension" modules do exactly what I wish!

Re: How to get comma text from sample audio filenames (instead of the full path)?

Posted: 20 May 2022, 13:45
by senso
yes exactly!