Calling basic methods

Report a typo

Given a string variable:

std::string str = "just a text";

Match method callings and their results.

Match the items from left and right columns
str.size()
str.append(", Hello")
str.substr(0, 5)
str.erase(1, 3)
just
just a text, Hello
11
j a text, Hello

Create a free account to access the full topic