Re: Checking for multiple instances of a string

2002-11-23 Thread dan
$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,

RE: Checking for multiple instances of a string

2002-11-23 Thread Beau E. Cox
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'

Checking for multiple instances of a string

2002-11-23 Thread Gavin Laking
-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: *