Documentation

Path::GetExtension

Function

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.

string path

Returns string