Skip to content

cf_path_get_filename_no_ext

Category: path
GitHub: cute_string.h


Returns the filename portion of a path without the file extension. Returns a new string.

#define cf_path_get_filename_no_ext(path) spfname_no_ext(path)
Parameters Description
path The path string.

Return Value

Returns a new dynamic string. Free with sfree.

Remarks

Shortform: spfname_no_ext(path).

cf_path_get_filename
cf_path_get_ext
cf_path_ext_equ