Re: ASCII regex
| From: | Chris Carbaugh | Date: | Mon, 06 Nov 2000 15:00:32 +0000 |
| Subject: | Re: ASCII regex | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23891@lists.php.net to get a copy of this message | ||
http://php.net/manual/function.strpos.php
strpos($str, 13); // will find a carriage return
The only way I know of to search for a range with 'strpos' would be in
a loop. You might also want to look into regular expressions.
Chris
On Sun, 05 Nov 2000, Kent Wang wrote:
> Date: Sun, 05 Nov 2000 22:39:56 -0600
> To: php-general@lists.php.net
> From: Kent Wang <kwang@kwang.org>
> Subject: [PHP] ASCII regex
>
> How can I search for characters in a specific ASCII value range?
>
>
> --
> 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
>