Re: string count in log file
Re: string count in log file
- Subject: Re: string count in log file
- From: Greg Sutherland <email@hidden>
- Date: Fri, 21 Sep 2001 06:59:55 -0400 (EDT)
Emmanuel, Thanks for the quick response. Does any one have a thought on
why it works for him and not for me?? greg
On Fri, 21 Sep 2001, Emmanuel wrote:
>
Date: Fri, 21 Sep 2001 12:47:58 +0200
>
From: Emmanuel <email@hidden>
>
To: Greg Sutherland <email@hidden>, email@hidden
>
Subject: Re: string count in log file
>
>
At 12:28 +0200 21/09/01, Greg Sutherland wrote:
>
>
>
>I thought I was beginning to understand. Wrong. I get a count of 0 every
>
>time. Even when I use the same file which just has one line with one word
>
>I still get a count of zero. :(
>
>I've displayed the values of theText and srchStrng and they look correct.
>
>What am I doing wrong??
>
>
Nothing IMO. I have tested your snippet as it is except for theText that I
>
set directly to "foo blo bar". My search strings file contains three
>
paragraphs:
>
>
-------------
>
bla
>
blo
>
bla
>
-------------
>
>
The result string displays correctly:
>
>
"bla 0
>
blo 1
>
bla 0
>
"
>
>
HTH
>
Emmanuel