RE: [PHP-WIN] Reg Ex help

From: Date: Thu, 13 Jan 2005 21:17:03 +0000
Subject: RE: [PHP-WIN] Reg Ex help
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-25319@lists.php.net to get a copy of this message
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" <aaron.wagner@bankofamerica.com> > To: Ron.Herhuth@tatumpartners.com, 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: Ron.Herhuth@tatumpartners.com > > [mailto:Ron.Herhuth@tatumpartners.com] > > 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

« previous php.windows (#25319) next »