Strncopy
strncpy()
strncpy(destStr, sourceStr, numChars)
Copies up to numChars characters.
strncpy(orgName, userText, 6); // orgName is "UNICEF Nations"
strncpy(destStr, sourceStr, numChars)
Copies up to numChars characters.
strncpy(orgName, userText, 6); // orgName is "UNICEF Nations"