$retest = substr($linewithsubjectin,3);
if ($retest ne "Re:") {
# hasn't got Re: in
} else {
# has got Re: in
}
should work.
dan
"Gavin Laking" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi folks,
a
cassless match, etc.
Aloha => Beau.
-Original Message-
From: Gavin Laking [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 23, 2002 3:09 AM
To: [EMAIL PROTECTED]
Subject: Checking for multiple instances of a string
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I've configured the forum software I am writing to automatically add the
line 'Re: subjectNameHere' to the subject field when a user wishes to
reply to a post. Now I've encountered a problem, when the reply is a
reply to a previous reply:
*