FString::Format

Syntax

static FString Format
(
    const TCHAR * InFormatString,
    const TMap < FString , FStringFormatArg > & 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

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h

Source

Runtime/Core/Private/Misc/StringFormatter.cpp