I thought I had used some library, in the past, that provided functions like GetFileExtension and GetFileName. I will search better among my projects but I can't find them at the moment.
This snippet is useful for getting:
Path, FileName and FileExtension, for convenience in a single custom...