FEditorFileUtils::ExtractPackageName

Helper function used to extract the package name from the object path

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h

Include

#include "FileHelpers.h"

Source

/Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp

Syntax

static FString ExtractPackageName
(
    const FString & ObjectPath
)

Remarks

Helper function used to extract the package name from the object path

Returns

The package name from the string

Parameters

Parameter

Description

ObjectPath

The path to the package to test

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