Retrieves the extension of the specified path.
the extension of path as a string.
the path from which to extract the extension.