[Bob Irwin <[EMAIL PROTECTED]>]
> This is a probably an easy one.
> How would one identify predefined characters in a string?
> For example,
> I have the string, 'bob@pnc. com.au'
> If I had the space on my 'illegal characters list', how would I go
> about having the script identify it?
This is a question for php-general, not php-dev. But anyway, take a
look at the strspn and strcspn functions.
Stig Sæther Bakken <[EMAIL PROTECTED]>
Fast Search & Transfer ASA, Trondheim, Norway
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]