RES: [PHP-WIN] Reg Ex help
| From: | Rafael Soares | Date: | Thu, 13 Jan 2005 17:35:42 +0000 |
| Subject: | RES: [PHP-WIN] Reg Ex help | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25313@lists.php.net to get a copy of this message | ||
No, you aren't na idiot. You just don't how to do it, nobody knows
everything.
I think you can use strlen(); it returns an integer with the lenght of the
variable (0 if it's blank).
Don't worry, I learned this function some weeks ago...
Happy new year, bye bye.
-----Mensagem original-----
De: Ron.Herhuth@tatumpartners.com
[mailto:Ron.Herhuth@tatumpartners.com]
Enviada em: quinta-feira, 13 de janeiro de 2005 13:18
Para: php-windows@lists.php.net
Assunto: [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