Functions

FILEPATH

Returns the file directory as a string.

Syntax

string FILEPATH(string fileName)
```## Example
```csharp
FILEPATH(@"C:\mydir\myfile.ext")

Will return 'C:\mydir'.