Functions
The following functions are available globally.
-
Extracts just the file name, no path or extension
Declaration
Objective-C
extern NSString *_Nullable DDExtractFileNameWithoutExtension( const char *_Nonnull filePath, BOOL copy)Swift
func DDExtractFileNameWithoutExtension(_ filePath: UnsafePointer<Int8>, _ copy: Bool) -> String?Parameters
filePathinput file path
copyYES if we want the result to be copied
Return Value
the file name
View on GitHub
Functions Reference