Subject Re: [firebird-support] Re: Create or Alter Procedure: Token Unknown doing a Replace...
Author diego schumacher

const
   ReplaceFmt = '  S = Replace(S, %s, %s);';
begin
   [...]

   //    Script1.Script.Add('-- Remove Double Letters ');
   Script1.Script.Add(Format(ReplaceFmt, [QuotedStr('BB'), QuotedStr('B')]));
   Script1.Script.Add(Format(ReplaceFmt, [QuotedStr('CC'), QuotedStr('C')]));
   Script1.Script.Add(Format(ReplaceFmt, [QuotedStr('DD'), QuotedStr('D')]));

   [...]
end;

--
Diego.-