fileDirectory function
string fileDirectory(filePath)
filePath string
Returns the file directory of the given filePath, without the file name.
This function returns the file directory (without the file name) of the given filePath.
Related
Examples
fileDirectory("assets/obj/mygeometry.01.obj")
# result = "assets/obj/"