TextNamespaceUtil::ExtractPackageNamespace

Given a text namespace, extract any package namespace that may currently be present.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Internationalization/TextNamespaceUtil.h"

Source

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

Syntax

namespace TextNamespaceUtil
{
    FString TextNamespaceUtil::ExtractPackageNamespace
    (
        const FString & InTextNamespace
    )
}

Remarks

Given a text namespace, extract any package namespace that may currently be present.

Returns

The extracted package namespace component, or an empty string if there was no package namespace component.

Parameters

Parameter

Description

InTextNamespace

The namespace currently used by the FText instance.

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