ExtractDir

This function returns the directory part of a file path.

Syntax

Parameters

Returns

Returns the directory part of the specified file path.

Example

--Get the directory part
System:Print((FileSystem:ExtractDir("Materials/Brick/brickwall01a.mat")))