Mount Fuji Engine  0.8b
const char* MFStr_TruncateExtension ( const char *  pFilename)

Truncates the file extension from a filename.

Parameters
pFilenameString containing a filename.
Returns
A string containing the filename with the final file extension truncated.
Remarks
The pointer returned is in the MFStr buffer. If persistence is desired, the client should take a copy.