Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FPaths
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void RemoveDuplicateSlashes
(
FString& InPath |
Removes duplicate slashes in paths. | Misc/Paths.h | |
static FString RemoveDuplicateSlashes
(
const FString& InPath |
Returns a copy of the given path on which duplicate slashes were removed (see the inplace version for more details). | Misc/Paths.h |
RemoveDuplicateSlashes(FString &)
Description
Removes duplicate slashes in paths. Assumes all slashes have been converted to TEXT('/'). For example, takes the string: BaseDirectory/SomeDirectory//SomeOtherDirectory////Filename.ext and converts it to: BaseDirectory/SomeDirectory/SomeOtherDirectory/Filename.ext
| Name | RemoveDuplicateSlashes |
| 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 void RemoveDuplicateSlashes
(
FString & InPath
)
RemoveDuplicateSlashes(const FString &)
Description
Returns a copy of the given path on which duplicate slashes were removed (see the inplace version for more details).
| Name | RemoveDuplicateSlashes |
| 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 RemoveDuplicateSlashes
(
const FString & InPath
)