string Path::RemoveExtension(const string&in path)
Removes the file extension from the given path. If there is no file extension, this returns the original path. For example, hello.txt will return hello.
hello.txt
hello
string path
string
path