The full extension of "hello.foo.bar.exe" would be ".foo.bar.exe".
assertEmpty(Path().fullExtension); assertEmpty(Path("").fullExtension); assertEmpty(Path("/").fullExtension); assertEmpty(Path("/hello").fullExtension); assertEmpty(Path("C:/hello/world").fullExtension); assertEqual(Path("C:/hello/world.exe").fullExtension, ".exe"); assertEqual(Path("hello/world.foo.bar.exe").fullExtension, ".foo.bar.exe");
The full extension of the path.