dirName()

The function returns the directory path for the specified directory.

Synopsis

string dirName(string path);

Parameters

Parameter Meaning
path The directory path.

Return Value

The function returns the directory path.

Details

The function returns the directory path for the specified directory.

  • If a filename without additional path is given, the function returns "./"
  • "//DESTINATION//TEST MANN# TEST.WAV"; returns: "]["//DESTINATION//"]
  • "DESTINATION//TEST MANN# TEST.WAV"; returns: "]["DESTINATION//"]
  • "TEST MANN# TEST.WAV"; returns: "]["./"]

Assignment

File functions

Availability

CTRL