take a look at the array commands. DIM, GLOBAL, SPLIT, UBOUND, JOIN, ASCAN....

Code:

$Printer1="user1,user2,user3"

? "user1 =" + split($printer1,",")[0]
? "user2 =" + split($printer1,",")[1]
? "user3 =" + split($printer1,",")[2]




or... just define your variables as an array in place of the string that youa re doing now.

Code:

$Printer1= "user1","user2","user3"
for each $user in $printer1
? $user
next



Bryce