This did the trick. Thanks! Paul
-----Original Message----- From: Stevenson, Charles [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 6:16 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Login Paragraphs Use MATCHES My @LOGNAME is 'cds33896' so : >CT VOC PAUL PAUL 0001 PA 0002 WHO 0003 IF @LOGNAME MATCHES "'cd'0X" THEN DISPLAY YEP - cd 0004 IF @LOGNAME MATCHES "'rf'0X" THEN DISPLAY RF - rf >PAUL 12 cds33896 YEP - cd > _____________________________________________________________ > I'm trying to set the TIMEOUT value for a user in the LOGIN > paragraph based on the first few characters of the user ID > but I don't know how to check for partial matches. > > I'm doing: > > PA > TIMEOUT 600 > IF @LOGNAME = "jsmith" THEN TIMEOUT 1200 IF @LOGNAME = > "psohn" THEN TIMEOUT 3600 > > > I would like to add something like the below but I'm not sure > of the syntax: > > IF @LOGNAME[1,2] = "rf" THEN TIMEOUT 2400 > > > Paul ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/