Cheers!

"Richard Davey" <[EMAIL PROTECTED]> kirjoitti 
viestissä:[EMAIL PROTECTED]
>
> 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 

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

Reply via email to