Filter Command
Gregory Lypny
gregory.lypny at videotron.ca
Mon Nov 21 14:29:08 EST 2005
Hello Everyone,
I'm having a bit of trouble with the Filter command giving me false
positives. I'm picking off company names in a file containing news
headlines. The headlines file has one headline per line, and each
line is tab delimited, where the first item is a unique story number
and the second is the actual headline. It looks something like this:
1 tab First headline text
2 tab Second headline text
3 tab Third headline text
...
My search command is of the form
filter it with "*" & tab & "*" & companyName & "*"
This seems to works fine for all my companies except for "TSE 100
Index Participation Fund Units". I'm getting a lot of hits that
contain "TSE" (Toronto Stock Exchange) in the headline but not the
rest of the name. This does not happen with other long names or
names that have a common proper noun (e.g., Canada Bread gives me
four hits all mentioning Canada Bread and none mentioning Canada or
Bread alone).
Any thoughts?
Regards,
Greg
More information about the use-livecode
mailing list