Given a string s and another string c, return a string with the characters surrounding the first occurrence of c reversed. For example, if s is "Hello-World" and c is "-", return "HellW-oorld". If c only occurs at the beginning or end of s, or doesn't occur in s at all, return s.

Complete the following file:


#include <iostream> #include <string> using namespace std; string swapAroundGivenString(string s, string c) {