"a/b/c/f.e"" />

FPathViews::RemoveDuplicateSlashes

Removes duplicate forward slashes, e.g. "a/b//c////f.e" -> "a/b/c/f.e"

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/PathViews.h

Include

#include "Misc/PathViews.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/PathViews.cpp

Syntax

static void RemoveDuplicateSlashes
(
    FStringBuilderBase & InOutPath
)

Remarks

Removes duplicate forward slashes, e.g. "a/b//c////f.e" -> "a/b/c/f.e"