Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/TCString
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/CString.h |
Include | #include "Misc/CString.h" |
static int32 Strnlen
&40;
const CharType &42; String,
SIZE_T StringSize
&41;
Remarks
Calculate the length of the string up to the given size. Length The smaller of StringSize and the number of characters in String before a null character.
Parameters
Name | Description |
---|---|
String | A possibly-null-terminated string in a character array with a size of at least StringSize. |
StringSize | The maximum number of characters to read from String. |