If you've got the server name part, then just substring the rest based on the length of the server name + 2 for the leading "\\", i.e.
code:
$sRest=substr($sUNCPath,length($sServerName)+2))