Returns the file extension from a given file name.
The name of the file from which to extract the extension.
The file extension as a string if present; otherwise, returns an empty string.
"c:/a/b.xyz" => "xyz" Copy
"c:/a/b.xyz" => "xyz"
1.0.5
2026-08-17
Returns the file extension from a given file name.