FString::Reset

Syntax

void Reset
(
    int32 NewReservedSize
)

Remarks

Empties the string, but doesn't change memory allocation, unless the new size is larger than the current string.

Parameters

Parameter

Description

NewReservedSize

The expected usage size (in characters, not including the terminator) after calling this function.

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h