Remove Duplicate Slashes

Remove Duplicate Slashes

Windows
MacOS
Linux

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

Target is Blueprint Paths Library

Remove Duplicate Slashes
In Path
Out Path

Inputs

In Path
String

Outputs

Out Path
String
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss