Aaron,

is_string() will return true even if there are no alphanumeric characters in 
the variable, even if the variable is empty. My best guess is that is_string() 
will not work in this case.

Randy Clamons
Systems Programming
Astro-auction.com

> ------------Original Message------------
> From: "Wagner, Aaron" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], php-windows@lists.php.net
> Date: Thu, Jan-13-2005 1:31 PM
> Subject: RE: [PHP-WIN] Reg Ex help
>
> couldn't you use 
> 
> is_string ( mixed var )
> 
> aaron
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: January 13, 2005 10:18
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] Reg Ex help
> > 
> > 
> > 
> > I might be an idiot...
> > 
> > I am trying to do a simple check to make sure a string 
> > contains at least
> > an alphanumeric character before I print the string.  How can 
> > I do this?
> > 
> > Ron

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to