Re: string count in log file
Re: string count in log file
- Subject: Re: string count in log file
- From: Emmanuel <email@hidden>
- Date: Fri, 21 Sep 2001 12:47:58 +0200
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