$nopath

From Scriptwiki
Revision as of 15:32, 4 April 2008 by Albie (talk | contribs) (forgot category.)

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

Returns filename with the path stripped.

$nopath(<path>)

Examples

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