Get the filename of a file, without the file extension. If a full path to a file is provided, it will be included also.
bool CExtAPI::file_GetFilenameNoExt(ZVAR hStr, const char* lpFileName);
Name | Type | Comment |
---|---|---|
hStr | ZVAR | A ZVAR handle to a string variable to receive the extension-less filename string. |
lpFileName | const char* | A handle to a C-style string containing the file name, the extension of which is to be removed. |
False if an error occurred, and true otherwise (with hStr containing the extension-less filename).
None.