The full extension of "hello.foo.bar.exe" would be ".foo.bar.exe".
1 assertEmpty(Path().fullExtension); 2 assertEmpty(Path("").fullExtension); 3 assertEmpty(Path("/").fullExtension); 4 assertEmpty(Path("/hello").fullExtension); 5 assertEmpty(Path("C:/hello/world").fullExtension); 6 assertEqual(Path("C:/hello/world.exe").fullExtension, ".exe"); 7 assertEqual(Path("hello/world.foo.bar.exe").fullExtension, ".foo.bar.exe");
The full extension of the path.