if (strlen(instr) > 0) then begin
for i := 1 to strlen(instr) do begin
if (Instr[i] = '|') then
outstr += '&<>'
else
outstr += format(instr[i]);
end;
outstr := delchr(outstr,'<','&');
end;
you can also use the CONVERTSTR function, but there u must "puzzle" a little bit ..
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
you can also use the CONVERTSTR function, but there u must "puzzle" a little bit ..
Regards