Re: question reg trim-strlen
| From: | Mike Maltese | Date: | Thu, 31 Jan 2002 10:54:44 +0000 |
| Subject: | Re: question reg trim-strlen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82905@lists.php.net to get a copy of this message | ||
Yep.
----- Original Message -----
From: "B. Verbeek" <b.verbeek@creative-edge.nl>
To: "Php-General (E-mail)" <php-general@lists.php.net>
Sent: Thursday, January 31, 2002 2:48 AM
Subject: [PHP] question reg trim-strlen
> Does this work?
>
> >> if(strlen($cust_adres = trim($cust_adres)) > 50){ /*code here*/ }
>
> I mean that the new $cust_adres is trimmed when nessecary?
>
> regards
> Bart
>
>
>
>
> --
> 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
>
>