Having the last three character means that you get the type of the file. You can decide whether a file is a mp3 file or whether it isn’t. At least that’s true with standard file endings. However there’s no gurantee that the ending is 3 characters long.
Maybe this is a deficiency specific to me. I don’t know what the user wants in the example you give for instance. Out of curiosity, what is it?
A file is named:
Having the last three character means that you get the type of the file. You can decide whether a file is a mp3 file or whether it isn’t. At least that’s true with standard file endings. However there’s no gurantee that the ending is 3 characters long.