When filtering by subject how do you ignore the "Fwd:" and "Re:" tags at the beginning of a subject line?
A:
In my scripts that examine the subject line I first convert it to lower case and then use the following code:
{ Loop through the words in the subject line eliminating any "Re:" and/or "Fwd:" tags. }
{ Check for "Fwd:" tag }
:CheckFwd
Set $txt $header
ChopString $txt 6 9999
If $txt ! "fwd: " then CheckRe
{ Delete the "Fwd:" prefix from the subject line }
ChopString $header 1 5
GoTo CheckFwd
{ Check for "Re:" tag }
:CheckRe
Set $txt $header
ChopString $txt 5 9999
If $txt ! "re: " Then Find1stWord
{ Delete the "Re:" prefix from the subject line }
ChopString $header 1 4
GoTo CheckFwd