Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TStringFormatter
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TString< CharType > Format
(
const CharType* InExpression, |
Format the specified string using the specified arguments. | Misc/StringFormatter.h | |
TString< CharType > Format
(
const CharType* InExpression, |
Format the specified string using the specified arguments. | Misc/StringFormatter.h |
Format(const CharType *, const TMap< TString< CharType >, FStringFormatArg > &)
Description
Format the specified string using the specified arguments. Replaces instances of { Argument } with keys in the map matching 'Argument'
| Name | Format |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/StringFormatter.h |
| Include Path | #include "Misc/StringFormatter.h" |
TString< CharType > Format
(
const CharType * InExpression,
const TMap < TString< CharType >, FStringFormatArg > & InArgs
) const
A string containing the formatted text
Parameters
| Name | Remarks |
|---|---|
| InExpression | A string representing the format expression |
| InArgs | A map of named arguments that match the tokens specified in InExpression |
Format(const CharType *, const TArray< FStringFormatArg > &)
Description
Format the specified string using the specified arguments. Replaces instances of {0} with indices from the given array matching the index specified in the token
| Name | Format |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/StringFormatter.h |
| Include Path | #include "Misc/StringFormatter.h" |
TString< CharType > Format
(
const CharType * InExpression,
const TArray < FStringFormatArg > & InArgs
) const
A string containing the formatted text
Parameters
| Name | Remarks |
|---|---|
| InExpression | A string representing the format expression |
| InArgs | An array of ordered arguments that match the tokens specified in InExpression |