But in this case The comparision should be for two chars

 

    while (ii<=iy) do

    begin

        if (position(substring(m_sir from ii for 2),m_char)=0) then

            m_str=m_str||substring(m_sir from ii for 1);

        ii=ii+1;

    end

 

But, if the original ID like TEIL***ABC Then will be the three *** deletet, 
only the right * should be cut, this are the * who filled…

 

Von: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] 
Gesendet: Montag, 7. Dezember 2015 11:22
An: firebird-support@yahoogroups.com
Betreff: Re: AW: [firebird-support] string difficulty

 

  

a quick answer :

m_char='**'

 

 

 

On Monday, December 7, 2015 12:12 PM, "'checkmail'  
<mailto:check_m...@satron.de> check_m...@satron.de [firebird-support]" < 
<mailto:firebird-support@yahoogroups.com> firebird-support@yahoogroups.com> 
wrote:

 

But If the ID is ABC*DEFG, I get ABC*DEFG********01 and in this case only all * 
from right should be deleted.

 

I have create this, is there a simpler way?

  



  • Re: [fire... Virna Constantin costel...@yahoo.com [firebird-support]
    • AW: ... 'checkmail' check_m...@satron.de [firebird-support]
      • ... Virna Constantin costel...@yahoo.com [firebird-support]
        • ... Virna Constantin costel...@yahoo.com [firebird-support]
          • ... Virna Constantin costel...@yahoo.com [firebird-support]
            • ... 'checkmail' check_m...@satron.de [firebird-support]
              • ... setysvar setys...@gmail.com [firebird-support]
              • ... 'Andrew Zenz' and...@aimsoftware.com.au [firebird-support]
              • ... 'checkmail' check_m...@satron.de [firebird-support]
              • ... 'checkmail' check_m...@satron.de [firebird-support]
        • ... 'checkmail' check_m...@satron.de [firebird-support]
  • Re: [fire... Alan J Davies alan.dav...@aldis-systems.co.uk [firebird-support]
    • AW: ... 'checkmail' check_m...@satron.de [firebird-support]

Reply via email to