| about | help | code help+videos | done | prefs |
Given a String parameter str and String parameter marker return a String where everything before and after the marker have been swapped. Pre-condition: marker is found within strswapMarker("Abbra Caddabra", " ") → "Caddabra Abbra" swapMarker("Last, First", ", ") → "First, Last" swapMarker("ABC<-->123", "<-->") → "123<-->ABC" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy