Category:

File related

Extracts directory (without \ character at the end) from a full file path.

Syntax

extract_file_dir(
  FileName String
): String

Parameters

FileName is the full path to the file.

Return value

Type: String.

Examples of using

extract_file_dir(dataset_field_val(1, 'FileName'))
extract_file_dir('c:\My Files\reports.accdb')