dirname

From DavinciWiki
Jump to: navigation, search


Description

Return the directory portion of a pathname.

Arguments and Return Values

Arguments: A string containing a path

Return Value: A substring of the input

Usage

Syntax: dirname(object = STRING / TEXT)

Examples

dv> a
"/work/themis/data/test.qub"

dv> b = dirname(a)
"/work/themis/data"

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 03-23-2006

Personal tools