Modules/FileSystem/pathToFilename: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{:Modules/FileSystem/namespace/functions}} | {{:Modules/FileSystem/namespace/functions}} | ||
Revision as of 22:47, 20 January 2022
This function returns the filename and the directory portions of a filepath, separated 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