Re: Phone number validation
| From: | 2dogs | Date: | Mon, 13 Mar 2006 05:22:15 +0000 |
| Subject: | Re: Phone number validation | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231826@lists.php.net to get a copy of this message | ||
""Paul Goepfert"" <paul.goepfert@gmail.com> wrote in message
news:f21271ab0603121321s1063284fk381afe76343ec30f@mail.gmail.com...
I didn't realize that those were single quotes. I printed out the
email message and it looked like one set of double quotes for the
second parameter rather the two single quotes.
Is it possible for anyone to tell me what php method is used to grab
the first charater of a string? And onece I have it what method
removes the characted or number?
I know this seems trivial but I am still new to php and I don't have a
good understanding of the language yet. The more I do the better I'll
get.
Thanks
Paul
check out this page of the php manual for a few ideas. See the section
"String access and modification by character"
http://www.php.net/manual/en/language.types.string.php