Modules/FileSystem/pathToFilename: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ This function returns the filename and the direction portions of a filepath, seperated into two strings. ==Syntax== <syntaxhighlight lang="lua"> string, string fsnamespace.pathToFilename( string path, bool includeExtention ) </syntaxhighlight> ==Arguments== *'''path''': the file path to extract from *'''includeExtention''': if true then the filename extention is included in the result ==Returns== This function returns the filename and directory of the provid...") |
(No difference)
|
Revision as of 23:51, 18 January 2022
This function returns the filename and the direction portions of a filepath, seperated into two strings.
Syntax
string, string fsnamespace.pathToFilename( string path, bool includeExtention )
Arguments
- path: the file path to extract from
- includeExtention: if true then the filename extention is included in the result
Returns
This function returns the filename and directory of the provided file path.
Example
-- TODO
FileSystem Namespace Functions
- createTranslator
- createRAMDisk
- createMemoryFile
- createFileIterative
- copyFile
- copyStream
- copyStreamCount
- pathToFilename
- streamCompare
- topointer
- type
- setDoBufferAllRaw
- getDoBufferAllRaw