string strncat(string strDest, string strSource, number count)
Parameters
strDest
Null-terminated destination string
strSource
Null-terminated source string
count
Number of characters to append
Description:
Append characters of a string.The strncat function appends, at most, the first count characters of strSource to strDest. The initial character of strSource overwrites the terminating null character of strDest. If a null character appears in strSource before count characters are appended, strncat appends all characters from strSource, up to the null character. If count is greater than the length of strSource, the length of strSource is used in place of count. The resulting string is terminated with a null character. If copying takes place between strings that overlap, the behavior is undefined.