string Path::GetExtension(const string&in path)
Gets the file extension for the given path, including the period. If there is no file extension, this returns an empty string. For example, hello.txt will return .txt.
hello.txt
.txt
string path
string
path