str.fsplit
Getting the directory and name of a file. The method splits the full path into the name of the final file or directory and the rest of the path.
method str.fsplit (
str dir,
str name
)
str dir,
str name
)
Parameters
dir | The string for getting the directory. |
name | The string for getting the name of a file or directory. |
Related links | Source |