Formatting FStrings

Why can’t we use Printf directly instead of long syntax and why we are fstring which is use to define a string?
Can’t we include fstring.h and use " PrintLine(Printf(TEXT(“hiddenword is : %s”), *HiddenWord)); "

Because it’s a static member function of FString. e.g.

class FString
{
public:
    static FString Printf(...);
};

No and it’s already included otherwise it wouldn’t compile.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms