dirname

From DavinciWiki
Revision as of 12:01, 23 March 2006 by Keith (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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