Title Given a string s and a character c, return a string with the characters surrounding any occurrence of c reversed.
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-cpp-OtherStringOperations-9
Platform Name CodeCheck
Features Code Completion
Description Given a string s and a character c, 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.
Keywords Strings, Other String Operations
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-cpp-OtherStringOperations-9
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language C++
Natural Language en

Preview

SPLICE Output