Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/CString.h |
Include | #include "Misc/CString.h" |
Syntax
template<typename T>
struct TCString
Remarks
Set of basic string utility functions operating on plain C strings. In addition to the wrapped C string API,this struct also contains a set of widely used utility functions that operate on c strings. There is a specialized implementation for ANSICHAR and WIDECHAR strings provided. To access these functionality, the convenience typedefs FCString and FCStringAnsi are provided.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
double | Atod wrapper | |
![]() ![]() |
float | Atof wrapper | |
![]() ![]() |
int32 | Atoi wrapper | |
![]() ![]() |
int64 | Atoi64 wrapper | |
![]() ![]() |
int32 | GetVarArgs
(
CharType* Dest, |
Helper function to write formatted output using an argument list |
![]() ![]() |
bool | Returns whether this string contains only numeric characters | |
![]() |
bool | IsPureAnsi
(
const CharType* Str, |
|
![]() |
bool | IsPureAnsi
(
const CharType* Str, |
|
![]() |
bool | IsPureAnsi
(
const CharType* Str, |
|
![]() ![]() |
bool | IsPureAnsi
(
const CharType* Str, |
Returns whether this string contains only pure ansi characters |
![]() |
bool | IsPureAnsi
(
const CharType* Str |
|
![]() |
bool | IsPureAnsi
(
const CharType* Str |
|
![]() ![]() |
bool | IsPureAnsi
(
const CharType* Str |
Returns whether this string contains only pure ansi characters |
![]() |
bool | IsPureAnsi
(
const CharType* Str |
|
![]() ![]() |
int32 | Safe string formatted print. | |
![]() ![]() |
const CharType * | Spc
(
int32 NumSpaces |
Returns a static string that is filled with a variable number of spaces |
![]() ![]() |
int32 | Standard string formatted print. | |
![]() ![]() |
CharType * | Strcat wrapper | |
![]() ![]() |
CharType * | Strcat wrapper (templated version to automatically handle static destination array case) | |
![]() ![]() |
CharType * | Strchr wrapper | |
![]() ![]() |
const CharType * | Strchr wrapper | |
![]() ![]() |
int32 | Strcmp wrapper | |
![]() ![]() |
CharType * | Strcpy wrapper | |
![]() ![]() |
CharType * | Strcpy wrapper (templated version to automatically handle static destination array case) | |
![]() ![]() |
int32 | Strcspn wrapper | |
![]() ![]() |
const CharType * | Find string in string, case sensitive, requires non-alphanumeric lead-in. | |
![]() ![]() |
const CharType * | StrfindDelim
(
const CharType* Str, |
Finds string in string, case insensitive, requires the string be surrounded by one the specified delimiters, or the start or end of the string. |
![]() ![]() |
int32 | Stricmp wrapper | |
![]() ![]() |
const CharType * | Find string in string, case insensitive, requires non-alphanumeric lead-in. | |
![]() ![]() |
CharType * | Finds string in string, case insensitive (non-const version) | |
![]() ![]() |
const CharType * | Finds string in string, case insensitive Finds string in string, case insensitive | |
![]() ![]() |
int32 | Strlen wrapper | |
![]() ![]() |
CharType * | Concatenate a string with length checking. | |
![]() ![]() |
int32 | Strncmp wrapper | |
![]() ![]() |
CharType * | Copy a string with length checking. Behavior differs from strncpy in that last character is zeroed. | |
![]() ![]() |
int32 | Strnicmp wrapper | |
![]() ![]() |
CharType * | Finds string in string, case insensitive (non-const version) | |
![]() ![]() |
const CharType * | Finds string in string, case insensitive | |
![]() ![]() |
int32 | Calculate the length of the string up to the given size. | |
![]() ![]() |
CharType * | Finds string in string, case sensitive (non-const version) | |
![]() ![]() |
const CharType * | Finds string in string, case sensitive | |
![]() ![]() |
CharType * | Strrchr wrapper | |
![]() ![]() |
const CharType * | Strrchr wrapper | |
![]() ![]() |
CharType * | Strrstr wrapper | |
![]() ![]() |
const CharType * | Strrstr wrapper | |
![]() ![]() |
int32 | Strspn wrapper | |
![]() ![]() |
const CharType * | Strstr wrapper | |
![]() ![]() |
CharType * | Strstr wrapper | |
![]() ![]() |
int32 | Strtoi wrapper | |
![]() ![]() |
int64 | Strtoi wrapper | |
![]() ![]() |
CharType * | Strtok wrapper | |
![]() ![]() |
uint64 | Strtoui wrapper | |
![]() ![]() |
CharType * | Strupr wrapper | |
![]() ![]() |
CharType * | Strupr wrapper (templated version to automatically handle static destination array case) | |
![]() ![]() |
const CharType * | Tab
(
int32 NumTabs |
Returns a static string that is filled with a variable number of tabs |
![]() |
bool | ToBool
(
const WIDECHAR* Str |
|
![]() |
bool | ToBool
(
const ANSICHAR* Str |
|
![]() ![]() |
bool | Converts a string into a boolean value 1, "True", "Yes", FCoreTexts::True, FCoreTexts::Yes, and non-zero integers become true 0, "False", "No", FCoreTexts::False, FCoreTexts::No, and unparsable values become false | |
![]() |
bool |
Typedefs
Name | Description |
---|---|
CharType | |
TIsCharEncodingCompatibleWithCharType |