FString::Format

Format the specified string using the specified arguments.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h

Include

#include "Containers/UnrealString.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/StringFormatter.cpp

Syntax

static FString Format
(
    const TCHAR * InFormatString,
    const FStringFormatNamedArguments & InNamedArguments
)

Remarks

Format the specified string using the specified arguments. Replaces instances of { Argument } with keys in the map matching 'Argument'

Returns

A string containing the formatted text

Parameters

Parameter

Description

InFormatString

A string representing the format expression

InNamedArguments

A map of named arguments that match the tokens specified in InExpression

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss