just to make sure that I understand:

 Code:
 
$name = "\\server\share" 

$name=split($name,"\") ;splits the \\server\share into 4 parts and puts them in an array. 
$name=$name[ubound($name)] ;redefine the $name variable with the last part of the array?

$name ?



but couldn't i also use

 Code:
? $name[3]


then, since the array will always exist of 4 elements?

regards