about | help | code help+videos | done | prefs |
Write a method that returns a new string with the last part of the string placed in front of the first part. The parts are split at the 'splitAt' position indicated by that parameter. You may only use string methods and operations we have used in class. ccc1LastFirst("This one is not too difficult", 5) → "one is not too difficultThis " ccc1LastFirst("Computer Programming Class is COOL", 15) → "mming Class is COOLComputer Progra" ccc1LastFirst("abcdefg", 1) → "bcdefga" ...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: 220
Copyright Nick Parlante 2017 - privacy