TChar

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

Windows
MacOS
Linux

Inheritance Hierarchy

TCharBase

TChar

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

uint32

 

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

References

Module

Core

Header

Runtime/Core/Public/Misc/Char.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback