No, but you can try one of these. The RIGHT method is more likely to be correct, because the INSTR method could match things like DOEW, DOES, or DOESN'T too, in which case it would be matching things you don't want.

 Code:
if instr(@userid,"DOE")
  ;do stuff
endif

if right(@userid,3)="DOE"
  ;do stuff
endif