TChar

[TChar](API\Runtime\Core\Misc\TChar) Set of utility functions operating on a single character.

Windows
MacOS
Linux

Inheritance Hierarchy

TCharBase

TChar

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Char.h

Include

#include "Misc/Char.h"

Syntax

template<typename CharType>
struct TChar : public TCharBase< CharType, sizeof(CharType)>

Remarks

TChar Set of utility functions operating on a single character. The functions are specialized for ANSICHAR and TCHAR character types. You can use the typedefs FChar and FCharAnsi for convenience.

Functions

Name Description

Public function Static

int32

 

ConvertCharDigitToInt

(
    CharType Char
)

Public function Static

bool

 

IsAlnum

(
    CharType Char
)

Public function

bool

 

IsAlnum

(
    WIDECHAR Char
)

Public function

bool

 

IsAlnum

(
    ANSICHAR Char
)

Public function

bool

 

IsAlpha

(
    ANSICHAR Char
)

Public function Static

bool

 

IsAlpha

(
    CharType Char
)

Public function

bool

 

IsAlpha

(
    WIDECHAR Char
)

Public function

bool

 

IsDigit

(
    ANSICHAR Char
)

Public function

bool

 

IsDigit

(
    WIDECHAR Char
)

Public function Static

bool

 

IsDigit

(
    CharType Char
)

Public function

bool

 

IsGraph

(
    WIDECHAR Char
)

Public function Static

bool

 

IsGraph

(
    CharType Char
)

Public function

bool

 

IsGraph

(
    ANSICHAR Char
)

Public function

bool

 

IsHexDigit

(
    ANSICHAR Char
)

Public function

bool

 

IsHexDigit

(
    WIDECHAR Char
)

Public function Static

bool

 

IsHexDigit

(
    CharType Char
)

Public function Static

bool

 

IsIdentifier

(
    CharType Char
)

Public function

bool

 

IsLower

(
    ANSICHAR Char
)

Public function

bool

 

IsLower

(
    WIDECHAR Char
)

Public function Static

bool

 

IsLower

(
    CharType Char
)

Public function Static

bool

 

IsOctDigit

(
    CharType Char
)

Public function Static

bool

 

IsPrint

(
    CharType Char
)

Public function

bool

 

IsPrint

(
    WIDECHAR Char
)

Public function

bool

 

IsPrint

(
    ANSICHAR Char
)

Public function

bool

 

IsPunct

(
    ANSICHAR Char
)

Public function Static

bool

 

IsPunct

(
    CharType Char
)

Public function

bool

 

IsPunct

(
    WIDECHAR Char
)

Public function Static

bool

 

IsUnderscore

(
    CharType Char
)

Public function

bool

 

IsUpper

(
    WIDECHAR Char
)

Public function

bool

 

IsUpper

(
    ANSICHAR Char
)

Public function Static

bool

 

IsUpper

(
    CharType Char
)

Public function Static

bool

 

IsWhitespace

(
    CharType Char
)

Public function

bool

 

IsWhitespace

(
    ANSICHAR Char
)

Public function

bool

 

IsWhitespace

(
    WIDECHAR Char
)

Public function Static

CharType

 

ToLower

(
    CharType Char
)

Only converts ASCII characters, same as CRT to[w]upper() with standard C locale

Public function Static

constexpr ui...

 

ToUnsigned

(
    CharType Char
)

Avoid sign extension problems with signed characters smaller than int

Public function Static

CharType

 

ToUpper

(
    CharType Char
)

Only converts ASCII characters, same as CRT to[w]upper() with standard C locale

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