Syntax for NewsEdge Profile InFix Notation
   Windows - Visual C++
NewsEdge Profile Infix Notation is the format in which a profile is displayed to a user. The NewsEdge Server requires profile text to be in Reverse Polish Notation (RPN) but since RPN is difficult to understand InFix notation is available.
| Profile Item | Syntax | Example | 
| news wire code | To specify news stories that were published on a certain news wire, enclose the code for that wire in braces. | {RT} | 
| word or phrase | To specify news stories that contain a certain phrase, enclose the phrase quotations. | "Stock Splits" | 
| subject code | To specify news stories that have been designated as matching a certain subject, enclose the code for that subject in square brackets. | [ACCT] | 
| ticker symbol | To specify news stories that contain the stock ticker a certain company, enclose the ticker symbol in angle brackets. | <NEWZ> | 
| Filter | Syntax | Example | 
| logical and | To specify news stories that contain both of two items, separate the items by a plus sign and enclose the resultant expression in parentheses. Each item can be any of the items listed above or another logical expression. | (item1+item2) | 
| logical but not | To specify news stories which contain one item but not another, separate the items by a minus and enclose the resultant expression in parentheses. Note: A term preceded with a tilde (~) placed outside of a boolean expression excludes all profile stories containing that term. | (item1-item2) ~item3 | 
   Example Profile 1 - Stories 
   about NewsEdge Corporation
   
(news + delivery) <NEWZ> "NewsEdge Corp"
    This profile produces stories that 
    contain any of the following:
     both the words news 
    and delivery
     the ticker symbol NEWZ
     the phrase NewsEdge Corp
   Example Profile 2 - Sports stories
   
(football + patriots) (baseball + "Red Sox") [HK]
    This profile produces stories that 
    contain any of the following:
     both the words football 
    and patriots
     both the word baseball 
    and the phrase Red Sox
     the subject code HK, 
    indicating hockey