UweKeim / ZetaLongPaths

A .NET library to access files and directories with more than 260 characters length.

Home Page:https://nuget.org/packages/ZetaLongPaths

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZlpPathHelper.GetFileNameWithoutExtension

Fsamot opened this issue · comments

The GetFileNameWithoutExtension method works a bit different that the System.IO.Path one.

For path @"C:\Directory\File" the method returns an empty string while the System.IO.Path one returns "File".

Thanks, @Fsamot I do think I'll keep it this way, since it sounds more reasonable to me.