[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] String question



PureBytes Links

Trading Reference Links




Hello,
 
I want to exclude all preferred stocks from my 
scan.
 
In their symbols they either end with " p" (space 
p) or with " p.." (space p followed by any other letter).
 
While the first may be excluded by<FONT 
face="Courier New" color=#6600aa>
(StrRight<FONT 
face="Courier New" color=#6600aa>(<FONT face="Courier New" 
color=#0000ff>Name(),<FONT 
face="Courier New" color=#ff00ff>2<FONT face="Courier New" 
color=#6600aa>) != " P"
how could exclude latter case since I donīt know which (if at all) letter 
might follow??
Thank you for your help
 
Markus

 
 
(StrRight<FONT 
face="Courier New" color=#6600aa>(<FONT face="Courier New" 
color=#0000ff>Name(),<FONT 
face="Courier New" color=#ff00ff>2<FONT face="Courier New" 
color=#6600aa>) != " 
P"<FONT face="Courier New" 
color=#6600aa>);






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.