Trace the following string operations. Write the value of s…

Trace the following string operations. Write the value of s after each statement. string s = “Hello, World!”;s = s.substr(7, 5);      // s = ?s.erase(2, 2);             // s = ?s = s + “!”;                 // s = ? After substr:   s = [substr] After erase:     s = [erase] After +:            s = [plus]