• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: string count in log file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: string count in log file
      • From: Greg Sutherland <email@hidden>
References: 
 >Re: string count in log file (From: Greg Sutherland <email@hidden>)

  • Prev by Date: Re: string count in log file
  • Next by Date: Re: string count in log file
  • Previous by thread: Re: string count in log file
  • Next by thread: Re: string count in log file
  • Index(es):
    • Date
    • Thread