| about | help | code help+videos | done | prefs | 
| Given a string str, and a character ch, move all occurrences of the given character to the beginning of the given string. For instance: if str = "student", and ch = 't', the value of "ttsuden" should be returned as a new string. If there is no occurrence of the given character inside the str, return the str. moveLeft("sky", "s") → "sky" moveLeft("sky", "y") → "ysk" moveLeft("initIal", "i") → "iintIal" ...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: 180
Copyright Nick Parlante 2017 - privacy