Hi, I would like to use something like this:
TString s1 = "foo";
TString::Format("%s",s1);
However the formatted TString prints as “(null)”. An obvious workaround is to use
but I am wondering why the even-more obvious usage doesn’t work. I know TString::Format is supposed to be the same as the stdlib printf, but I expected TStrings know about other TStrings. Is there a special % format for TStrings?
Jean-François