Re: string lenght?

From: Date: Mon, 06 Feb 2006 12:22:30 +0000
Subject: Re: string lenght?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229938@lists.php.net to get a copy of this message
On 6 Feb 2006, at 12:18, William Stokes wrote:
How can I test whether a string is 1 or 2 digits long?
Cast it to an int (or float if required) and strlen() it. Cheers, Rich -- http://www.corephp.co.uk Zend Certified Engineer PHP Development Services

« previous php.general (#229938) next »