Concept Framework 2.0 documentation Contents | Index

standard.C.string.strncat

Name Version Deprecated
strncat version 1.0 no

Prototype:
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.

Returns:
Returns strDest.

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:20 2011 GMT(c)2011 RadGs Software