Nice find. The short one is crap anyway.skywalk wrote: Your last post fails in this test.

However my first one fails the tests partially too:
Code: Select all
Debug GetExtensionPart("foo. bar")

At least it doesn't have the same behavior as PathRemoveExtension_(),
which I guess should be correct since it's an API specifically made for that.