You
Could use @REGEX and test for
[0-9,a-z,A-Z]+
if it fails then it is not

Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller 
Available for Witango Developement


-----Original Message-----
From: Wayne Irvine [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 6:11 PM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Checking for Alphanumerics

IS there a simple way to test whether a string contains only
alphanumeric
characters (0-9,a-z,A-Z)?

It's not too hard to write a loop to test each char but if there is
already
a metatag or regex expression I'd rather not reinvent the wheel.

Wayne Irvine
                  Byte Services Pty Ltd
               http://www.byteserve.com.au/
                  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to