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 CharType &42; Strncpy
&40;
CharType &42; Dest,
const CharType &42; Src,
int32 MaxLen
&41;
Remarks
Copy a string with length checking. Behavior differs from strncpy in that last character is zeroed. pointer to resulting string buffer
Parameters
Name | Description |
---|---|
Dest | destination buffer to copy to |
Src | source buffer to copy from |
MaxLen | max length of the buffer (including null-terminator) |