/Engine/Source/Runtime/Core/Public/Misc/Paths.h
Returns a copy of the given path on which duplicate slashes were removed (see the inplace version for more details).
static [FString](API\Runtime\Core\Containers\FString) RemoveDuplicateSlashes ( const [FString](API\Runtime\Core\Containers\FString) & InPath )