for I := $00 to $FF do begin S := StringReplace( S, CT.Values[IntToHex(I, 2)], '<$'+IntToHex(I, 2)+'>', [rfReplaceAll] );