L3DT documentation
Large 3D terrain generator

file_GetFilenameNoExt

Description

Get the filename of a file, without the file extension. If a full path to a file is provided, it will be included also.

Function prototype

bool CExtAPI::file_GetFilenameNoExt(ZVAR hStr, const char* lpFileName);

Arguments

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.

Return value

False if an error occurred, and true otherwise (with hStr containing the extension-less filename).

Comments

None.

 
zeolite/functions/file_getfilenamenoext.txt · Last modified: 2017/08/31 07:09 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki