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

But in this case The comparision should be for two chars


    while (ii<=iy) do


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

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




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: []
Gesendet: Montag, 7. Dezember 2015 11:22
Betreff: Re: AW: [firebird-support] string difficulty



a quick answer :





On Monday, December 7, 2015 12:12 PM, "'checkmail' check_mail@... [firebird-support]" <> 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?