[antispam-f] Re: G T R L format spam

  • From: Harriet Bazley <lists@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • To: antispam@xxxxxxxxxxxxx
  • Date: Fri, 10 May 2013 13:57:32 +0100

On 8 May 2013 as I do recall,
          Jeremy Nicoll - zf freelists  wrote:

> Harriet Bazley <lists@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >DEF FN@GTRL
> >LOCAL start%, end%,sub$,n%,len%,line$
> >  REM search for letters G T R L, poss. separated by space or punctuation
> >  line$=D$
> >  start%=INSTR(line$,"G")
> >  end%=INSTR(line$,"L")
> >  IF (start%=0) OR (end%=0) THEN =FALSE: REM does not contain target string
> >  len%=end%-start%
>
> This will go horribly wrong if there was any "L" to the left of the "G" in
> the string.
>
Eeek!

-- 
Harriet Bazley                     ==  Loyaulte me lie ==

If it's not broken, don't fix it.

Other related posts: