Subject AW: AW: [firebird-support] string difficulty
Author checkmail

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' check_mail@... [firebird-support]" <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?