It depends on the format of all your PC names, but this will work:
code:
$sPC="pcnr15"
SetL "myexample="+Right("0000"+SubStr($sPC,5),4)



[ 02. June 2003, 16:07: Message edited by: Richard H. ]