FString::ChrN

Returns a string that is full of a variable number of characters

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/UnrealString.h"

Source

/Engine/Source/Runtime/Core/Private/Containers/String.cpp

Syntax

static FString ChrN
(
    int32 NumCharacters,
    TCHAR Char
)

Remarks

Returns a string that is full of a variable number of characters

Returns

The string of NumCharacters characters.

Parameters

Parameter

Description

NumCharacters

Number of characters to put into the string

Char

Character to put into the 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