I need to truncate a long filename with consideration to the file's extensions (png, gif, pdf, etc...) and am wondering what the best practices are, for example:
thisisanextremelylongfilenamethatneedstobetruncated.png
Should it be truncated to look like this:
thisisanextremely...png
or thisisanextremely...
Thoughts?
(this is not the same as the other question because this focus on FILENAMES while the other questions focuses on a generalized text -- those two greatly differ)