Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/CString.h |
Include |
#include "Misc/CString.h" |
template<typename T>
struct TCString
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.
Name | Description | ||
---|---|---|---|
|
double |
Atod ( |
Atod wrapper |
|
float |
Atof ( |
Atof wrapper |
|
Atoi ( |
Atoi wrapper |
|
|
Atoi64 ( |
Atoi64 wrapper |
|
|
GetVarArgs |
Helper function to write formatted output using an argument list |
|
|
IsNumeric ( |
Returns whether this string contains only numeric characters |
|
|
IsPureAnsi ( |
||
|
IsPureAnsi |
||
|
IsPureAnsi |
||
|
IsPureAnsi |
Returns whether this string contains only pure ansi characters |
|
|
IsPureAnsi ( |
||
|
IsPureAnsi ( |
Returns whether this string contains only pure ansi characters |
|
|
Snprintf |
Safe string formatted print. |
|
|
const CharTy... |
Spc ( |
Returns a static string that is filled with a variable number of spaces |
|
Sprintf ( |
Standard string formatted print. |
|
|
CharType ... |
Strcat |
Strcat wrapper |
|
CharType ... |
Strcat |
Strcat wrapper (templated version to automatically handle static destination array case) |
|
CharType ... |
Strchr |
Strchr wrapper |
|
const CharTy... |
Strchr |
Strchr wrapper |
|
Strcmp |
Strcmp wrapper |
|
|
CharType ... |
Strcpy |
Strcpy wrapper |
|
CharType ... |
Strcpy |
Strcpy wrapper (templated version to automatically handle static destination array case) |
|
Strcspn |
Strcspn wrapper |
|
|
const CharTy... |
Strfind |
Find string in string, case sensitive, requires non-alphanumeric lead-in. |
|
const CharTy... |
StrfindDelim |
Finds string in string, case insensitive, requires the string be surrounded by one the specified delimiters, or the start or end of the string. |
|
Stricmp |
Stricmp wrapper |
|
|
const CharTy... |
Strifind |
Find string in string, case insensitive, requires non-alphanumeric lead-in. |
|
CharType ... |
Stristr |
Finds string in string, case insensitive (non-const version) |
|
const CharTy... |
Stristr |
Finds string in string, case insensitive |
|
Strlen ( |
Strlen wrapper |
|
|
CharType ... |
Strncat |
Concatenate a string with length checking. |
|
Strncmp |
Strncmp wrapper |
|
|
CharType ... |
Strncpy |
Copy a string with length checking. Behavior differs from strncpy in that last character is zeroed. |
|
Strnicmp |
Strnicmp wrapper |
|
|
Strnlen |
Calculate the length of the string up to the given size. |
|
|
CharType ... |
Strrchr |
Strrchr wrapper |
|
const CharTy... |
Strrchr |
Strrchr wrapper |
|
const CharTy... |
Strrstr |
Strrstr wrapper |
|
CharType ... |
Strrstr |
Strrstr wrapper |
|
Strspn |
Strspn wrapper |
|
|
CharType ... |
Strstr |
Strstr wrapper |
|
const CharTy... |
Strstr |
Strstr wrapper |
|
Strtoi |
Strtoi wrapper |
|
|
Strtoi64 |
Strtoi wrapper |
|
|
CharType ... |
Strtok |
Strtok wrapper |
|
Strtoui64 |
Strtoui wrapper |
|
|
CharType ... |
Strupr |
Strupr wrapper |
|
CharType ... |
Strupr ( |
Strupr wrapper (templated version to automatically handle static destination array case) |
|
const CharTy... |
Tab ( |
Returns a static string that is filled with a variable number of tabs |
|
ToBool ( |
Converts a string into a boolean value 1, "True", "Yes", [FCoreTexts::True](API\Runtime\Core\FCoreTexts\True), [FCoreTexts::Yes](API\Runtime\Core\FCoreTexts\Yes), and non-zero integers become true 0, "False", "No", [FCoreTexts::False](API\Runtime\Core\FCoreTexts\False), [FCoreTexts::No](API\Runtime\Core\FCoreTexts\No), and unparsable values become false |
|
|
ToBool ( |
||
|
ToBool ( |
Name |
Description |
---|---|
CharType |