Title Given a string s and a character c, return a string with the characters surrounding the first of c reversed.
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-cpp-OtherStringOperations-8
Platform Name CodeCheck
Features Code Completion
Description Given a string s and a character c, return a string with the characters surrounding the first of c reversed. For example, if s is Hello-World and c is -, return HellW-oorld.
Keywords Strings, Other String Operations
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-cpp-OtherStringOperations-8
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