UBlueprintPathsLibrary::MakeValidFileName

Returns a string that is safe to use as a filename because all items in [GetInvalidFileSystemChars()](API\Runtime\Engine\Kismet\UBlueprintPathsLibrary\GetInvalidFileSystemChars) are removed

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintPathsLibrary.h

Include

#include "Kismet/BlueprintPathsLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/Kismet/BlueprintPathsLibrary.cpp

Syntax

static FString MakeValidFileName
(
    const FString & InString,
    const FString & InReplacementChar
)

Remarks

Returns a string that is safe to use as a filename because all items in GetInvalidFileSystemChars() are removed

Optionally specify the character to replace invalid characters with

Parameters

Parameter

Description

InString

InReplacementChar

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