/* Create a function that removes the first * and last characters from a string. */ std::string removeFirstLast(std::string str) { str.erase(str.size()-1); str.erase(0,1); return str; }