Re: Check Left 4 characters of Form Variable
| From: | Jason Wong | Date: | Mon, 18 Nov 2002 20:41:49 +0000 |
| Subject: | Re: Check Left 4 characters of Form Variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124973@lists.php.net to get a copy of this message | ||
On Tuesday 19 November 2002 03:48, vernon wrote:
> I have a form that is acting like an email page where there Subject is
> being submitted from one page to another and tagging the subject with "RE:
> ". I want to be able tack the RE: on but only if it doesn't already have it
> there. I know that I can use and if statement, but how to I check the left
> 4 characters:
substr()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
A committee is a group that keeps the minutes and loses hours.
-- Milton Berle
*/