obviously, it will fail if the name is consisting only of letters.
this will handle purely numbered names and purely lettered names:
Code:

while 57<asc(left($computerName,1))
$computerName=substr($computerName,2)
loop



and as you see, it's also shorter


Edited by Jooel (2005-09-19 02:54 PM)
_________________________
!

download KiXnet