![]() |
MKI_JoinPartA (Strings) Changed in Version 2019.1 |
www.CAD6.com |
C++ Syntaxbool MKI_JoinPartA( LPSTR f_pszDestin, const size_t f_unMaxSize, LPCSTR f_pszSource1, const size_t f_unCharCount );
template <size_t f_unSize> bool MKI_JoinPartA( char (&f_rDestin)[f_unSize], LPCSTR f_pszSource1, const size_t f_unCharCount );
Appends a part of one Ansi or UTF-8 text to another Ansi or UTF-8 text.
ParametersDestin [LPSTR] Address of the destination text. MaxSize [const size_t] Maximum allowed length of the destination text in Ansi or UTF-8 characters including the terminating '\0' character. Source1 [LPCSTR] Address of the source text. CharCount [const size_t] Maximum number of Ansi characters to be copied. A terminating '\0' character will also stop the copying.
Return ValueReturns true if the text part could be appended completely. Otherwise, false is returned, indicating the text part to be appended was too long.
CommentIt is guaranteed that the resulting text will always be terminated with a '\0' character!
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH