Find objects with only part of their name

Hello,

does anyone know, how to find files( assets/songs/models) with certain part of the name ( let’s say, 3 letters) for example, I have song list in recourse folder song1.mp3/ song2.mp3/ song3.mp3 and etc. How could i find all of them by script, for example search only for “.mp3” and find them all?

Thanks,

Augustas.

You can use Directory.GetFiles to search for files in a folder.