stringreplace have not right result
Original Reporter info from Mantis: lingling
-
Reporter name:
Original Reporter info from Mantis: lingling
- Reporter name:
Description:
this code ,the result right is : 你们好sde
but the result is : 大家好sde
why,must be delete 'sde' can show right result.
how to return the right result ?
my windows is chinese edition.
procedure TForm1.Button1Click(Sender: TObject);
var
aStr:String;
begin
aStr:='大家好sde';
aStr:=StringReplace(aStr,'大家好','你们好',[rfReplaceAll, rfIgnoreCase]);
showmessage(aStr);
end;
Mantis conversion info:
- Mantis ID: 21931
- Version: 0.9.30.2