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

Copy characters from string.

Copies the first num characters of source to destination. 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_strncpy.nxc.