String Trim2. Write a function stringTrim that removes the first and last characters from a given string.
Write a function stringTrim that removes the first and last characters from a given string. "chello" should become "hell".
Your function must work correctly given the code in main shown below. Examine it to decide if you should return the new value or use a reference parameter.
using namespace std;
//Do not modify anything on or above the line below this
//YOUR FUNCTION HERE
//Do not modify anything on or below the line above this
cin >> word;
string result = stringTrim(word);
cout << result << endl;