056 - Accumulator Method String Practice 4
![056 - Accumulator Method String Practice 4](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FblGi53%2FbtqAJw5jUGw%2FaCcHBsDPDfHA46brlVRMtK%2Fimg.png)
056 - Accumulator Method String Practice 4
Write a method header on line two with the following specs: Returns: a String Name: surround Parameters: a String called s a char called search_term Then complete the method by programming the following behavior Return a new String built from s that has every instance of the search term surrounded by parentheses See below examples. Examples: surround("abcabcabc",'c') ==> "ab(c)ab(c)ab(c)" surrou..