Hm, maybe this needs a bit explanation:

Code:
$Printername = split($string, "\")[ubound(split($string, "\"))]



One can reference to an element of the created array in the same step as split creates it. In this case the last element (ubound()).

Simplified:

$var = split( string , delimiter ) [ element ]
_________________________