Hello,
There is a bug in the ExtractFileExt function, when a file's name is null, this function returns null, for example:
SysUtils.ExtractFileExt('sample.txt') returns ".txt" however, SysUtils.ExtractFileExt('.txt') returns ""
Is there any other routine to extract filename's extension?
Thanks,