$nofile

From Scriptwiki
Revision as of 15:35, 4 April 2008 by Albie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns path with the filename stripped.

$nofile(<path/filename>)

Examples

$nofile(c:\mirc\mirc.exe)  returns c:\mirc\
$nofile(c:\mirc\) returns c:\mirc\
$nofile(\mirc\mirc.exe) returns \mirc\
$nofile(c:\mirc) returns c:\
$nofile(mirc.exe) returns null.