I agree it's not something you'd need to do often.
However, in this case, I need to use a lot of image files in the format '001Name1.png', '002Name2.png' etc where Name1, Name2 etc. are various character names.
I need to list these to break the file names up so that I know that 'Name1' belongs to 001 etc.