string filtering
| From: | C.F. Scheidecker Antunes | Date: | Wed, 21 Jul 2004 00:38:24 +0000 |
| Subject: | string filtering | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191248@lists.php.net to get a copy of this message | ||
Hello all,
I need to filter some strings. They can only contain characters like a...z or A..Z and 0..9. Some strings have blank spaces, -,./?>,< characters that must be discarded. I wrote a function to check each and every character but I guess there must be something else more efficient.
Any suggestions?
Thanks in advance.