Synopsis
string strncat( | str1, | |
| | str2, | |
| | n); | |
| string | str1; |
| string | str2; |
| int | n; |
Description
Returns a new string appending string str2 to string str1 until it has appended n characters or it has reached the end of string str2
Parameters
- str1
The first string
- str2
The second string
- n
Max chars to append to str1
Returns
The string result of operation