| Title | Given a string s and a character c (as string of length 1), return a string with the characters surrounding any occurrence of c reversed. |
| Catalog Type | SLCItem |
| Persistent ID | https://codecheck.io/files/horstmann/codecheck-python-OtherStringOperations-9 |
| Platform Name | CodeCheck |
| Features | Code Completion |
| Description | Given a string s and a character c (as string of length 1), return a string with the characters surrounding any occurrence of c reversed. For example, if s is "Hello beautiful world" and c is a space, return "Hellb oeautifuw lorld". Skip any positions where c occurs twice in a row. |
| Keywords | Strings, Other String Operations |
| Author | Cay Horstmann |
| Institution | San José State University |
| Iframe URL | https://codecheck.io/files/horstmann/codecheck-python-OtherStringOperations-9 |
| Protocol | SPLICE, LTI 1.1 |
| Protocol URL | |
| License | https://creativecommons.org/licenses/by-nc-nd/4.0/ |
| Programming Language | Python |
| Natural Language | en |