Table of Contents Previous topic Next topic
C++ COMPILER LIBRARY FUNCTIONS->String Class Functions->Member Functions->Copy
size_t copy(char* s, size_t n, size_t pos = 0) const
Copies the smaller of n and size() pos characters to starting at pos to array s.
The '\0' character is not appended to s.