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

Re: [amibroker] String question



PureBytes Links

Trading Reference Links




Hello Chuck,
 
does ">=" and "<=" also work with 
letters?
 
Markus
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=chuck_rademacher@xxxxxxxxxx 
  href="">Chuck Rademacher 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Monday, May 19, 2003 12:44 PM
  Subject: RE: [amibroker] String 
  question
  
  How 
  about:
  <FONT face=Arial color=#0000ff 
  size=2> 
     Preferred = <FONT 
  face=Arial>(StrRight(Name(),2) == " p") or 
  (StrRight(Name(),3) >= " pa" and StrRight(Name(),3) <= " 
  pz");
  <BLOCKQUOTE 
  >
    <FONT face="Times New Roman" 
    size=2>-----Original Message-----From: <A 
    href="">funnybiz@xxxxxx 
    [mailto:funnybiz@xxxxxx]Sent: Monday, May 19, 2003 5:32 
    AMTo: Amibroker (Yahoo-Forum)Subject: [amibroker] 
    String question
    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=#6600aa>(),2<FONT 
    face="Courier New" color=#6600aa>) != <FONT face="Courier New" 
    color=#ff00ff>" 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=#6600aa>(),2<FONT 
    face="Courier New" color=#6600aa>) != <FONT face="Courier New" 
    color=#ff00ff>" P"<FONT face="Courier New" 
    color=#6600aa>);Send BUG REPORTS to 
    bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
    Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







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.