Navigation
API > API/Runtime > API/Runtime/DatasmithCore > API/Runtime/DatasmithCore/FDatasmithUtils
References
| Module | DatasmithCore |
| Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithUtils.h |
| Include | #include "DatasmithUtils.h" |
| Source | /Engine/Source/Runtime/Datasmith/DatasmithCore/Private/DatasmithUtils.cpp |
static void GetCleanFilenameAndExtension
(
const FString & InFilePath,
FString & OutFilename,
FString & OutExtension
)
Remarks
Gets the file name and its extension. In case of extension like asm.1, the return name is the part before the full extension (asm.1) The right part of extension must to be a numeric value
Parameters
| Name | Description |
|---|---|
| InFilePath | the path of the file |
| OutFilename | the filename (without extension), minus any path information. |
| OutExtension | the extension |