FString::ConvertTabsToSpaces

Replaces all instances of '' with TabWidth number of spaces

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h

Include

#include "Containers/UnrealString.h"

Syntax

FString ConvertTabsToSpaces
(
    const int32 InSpacesPerTab
)

Remarks

Replaces all instances of '' with TabWidth number of spaces

Returns

copy of this string with replacement made

Parameters

Parameter

Description

InSpacesPerTab

Number of spaces that a tab represents

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