Hi,
I am looking for a version of Format function that works with WideStrings. One way to implement this is to use something like the folllowing:
function GetNames(const FirstName, LastName: WideString; ID: Integer):
WideString;
begin
Result := ReadWideString(Format('%d %s %s', [ID,
WideStringToUTF8(Name1), WideStringToUTF8(Name2)])
end;Is there any better way to do this?
Thanks,
Amir
