or...

Code:

$Printer1='user1','user2','user3'

if ascan($printer1,'user3')+1
? "user3 is in Printer1 variable"
endif