Get the path and/or just filename without extension from a string containing a path and/or just filename.
string GetFilenameWithoutExt( string strPathAndFilename )
Returns a filename without filetype extension (but with path if in original string) from an optional path and filename with extension.
EX1
int GetFilenameWithoutExt_ex1() { string strFilenameWithoutExt, strFilenameWithExt; strFilenameWithExt = "Default.oaf"; strFilenameWithoutExt = GetFilenameWithoutExt( strFilenameWithExt ); ASSERT( strFilenameWithoutExt.Compare( "Default" ) == 0 ); return 0; }
origin.h