$nopath: Difference between revisions
Jump to navigation
Jump to search
Added $nopath |
m forgot category. |
||
Line 8: | Line 8: | ||
$nopath(c:\mirc) returns mirc | $nopath(c:\mirc) returns mirc | ||
$nopath(c:\mirc\) returns ''[[$null|null]]''. | $nopath(c:\mirc\) returns ''[[$null|null]]''. | ||
[[Category:File and Directory Identifiers]] |
Latest revision as of 14:32, 4 April 2008
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.