Re: Strings

From: Date: Thu, 26 Oct 2000 09:14:10 +0000
Subject: Re: Strings
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22092@lists.php.net to get a copy of this message
You can use ereg of course, but it's easyer to use is_numeric. Search the manual. Martin Jan van Schaijk wrote: > > Hi, > > I want to test if a string contains > > a) Characters like a-z or A-Z and > b) numbers like 0-9... > > Is there a function that can do this easily? > > Jan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#22092) next »