std::string str1 = "Hello"; std::string str2 = " World!"; str1.append(str2);
std::string str1 = "The quick brown fox jumps over the lazy dog"; std::string str2 = str1.substr(0, 19); str2.append("cat");
std::string str1 = "The magic spell is "; char spell[] = "abracadabra"; str1.append(spell);Result -> `The magic spell is abracadabra` `std::string::append` is part of the Standard Library, specifically the