Strings in C++

string s(t, len); // where t is a char* or an array of chars. or string s(“init”, len); // and len is an int. The new string is made from the first len characters of t. The actual length of t is completely ignored: string s(“abc”, 6) still copies six characters starting with the a, b, c, and \0. ................
................