Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FPaths
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetExtension
(
const FString& InPath, |
Gets the extension for this filename. | Misc/Paths.h | |
static FString GetExtension
(
const FString& InPath, |
Legacy version of GetExtension that uses a bool to specify bIncludeDot. | Misc/Paths.h |
GetExtension(const FString &, UE::Paths::EFlags)
Description
Gets the extension for this filename.
Default: Dot is not included, compound extensions are not allowed.
| Name | GetExtension |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Paths.h |
| Include Path | #include "Misc/Paths.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Paths.cpp |
static FString GetExtension
(
const FString & InPath,
UE::Paths::EFlags Flags
)
the extension of this filename, or an empty string if the filename doesn't have an extension.
Parameters
| Name | Remarks |
|---|---|
| Flags | EFlags::IncludeDot Includes the leading dot in the result. EFlags::AllowCompoundExtension Allows compound extensions (.a.b) in the result. |
GetExtension(const FString &, bool)
Description
Legacy version of GetExtension that uses a bool to specify bIncludeDot. EFlags::AllowCompoundExtension == 0.
| Name | GetExtension |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Paths.h |
| Include Path | #include "Misc/Paths.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Paths.cpp |
static FString GetExtension
(
const FString & InPath,
bool bIncludeDot
)