Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/StringFormatter.h |
Include |
#include "Misc/StringFormatter.h" |
TValueOrError< FString, FExpressionError > FormatStrict
(
const TCHAR * InExpression,
const TMap< FString, FStringFormatArg > & InArgs
) const
Format the specified string using the specified arguments. Replaces instances of { Argument } with keys in the map matching 'Argument'
A string containing the formatted text, or an error where InExpression is ill-formed, or contains undefined arguments
Parameter |
Description |
---|---|
InExpression |
A string representing the format expression |
InArgs |
A map of named arguments that match the tokens specified in InExpression |