Umenu autopopulate - how to seperate audio file name from full filepath ?

chris cousin's icon

hi

i'm autopopulating a umenu with a folder full of audio files. i want to be able to use the file names in another part of the patch but the middle outlet gives the full file path - how can i seperate just the file name from the full file path ?

another alternative would be to fill a coll with a list of the file names - how can i do this ?

many thanks in advance

chris

pdelges's icon

strippath?

chris cousin's icon

that's got it

many thanks

mattyo's icon

Also, if you look in the inspector for the umenu, you will see "Prefix Mode" in the Files tab. Select "Ignore", & that skips the filename.

M