[PHP] Check Left 4 characters of Form Variable

2002-11-18 Thread vernon
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

Re: [PHP] Check Left 4 characters of Form Variable

2002-11-18 Thread Jason Wong
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