As far as I know, it does not matter , except that getBaseName has a single parameter for the suffix of the file name. No significant difference. Although Base offers something more - I'm pretty sure that it indicates that it can cut things off at the end and nothing more.
Wesley van opdorp
source share