Split will split things into an array so that you can pick the bits out of it.

If you only want the very last element, InStrRev() will allow you to look back and find the last "\" in the string - everthing after that is the last element.

For example, to find the last part of a path name:
Code:
$sPath="\\some\path\or\other"
$sLastBit=SubStr($sPath,1+InStrRev($sPath,"\"))
"Last bit of the path is '"+$sLastBit+"'"@CRLF