NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
string strncat ( string &  dest,
const string &  src,
unsigned int  num 
)
inline

Append characters from string.

Appends the first num characters of source to destination, plus a terminating null-character. If the length of the string in source is less than num, only the content up to the terminating null-character is copied. The destination string is returned.

Parameters
destThe destination string.
srcThe string to be appended.
numThe maximum number of characters to be appended.
Returns
The destination string.
Examples:
ex_strncat.nxc.