Documentation

Path::RemoveExtension

Function

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.

string path

Returns string