ITextFormatArgumentModifier::ParseKeyValueArgs

Utility helper to parse out a list of key->value pair arguments.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/ITextFormatArgumentModifier.h

Include

#include "Internationalization/ITextFormatArgumentModifier.h"

Source

/Engine/Source/Runtime/Core/Private/Internationalization/TextFormatArgumentModifier.cpp

Syntax

static bool ParseKeyValueArgs
(
    const FTextFormatString & InArgsString,
    TMap< FTextFormatString, FTextFormatString > & OutArgKeyValues,
    const TCHAR InValueSeparator,
    const TCHAR InArgSeparator
)

Remarks

Utility helper to parse out a list of key->value pair arguments. The keys are assumed to only contain valid identifier characters, and the values may be optionally quoted (parsed strings are sub-string references to within the source args string)

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