about | help | code help+videos | done | prefs |
Given a string and a char, (formal parameters called - base and remove), return a version of the base string where all instances of the remove char have been removed. You may assume that the remove string is length 1 or more. A sample case is withoutChar("rubber bumper", "b") → "ruer umper" withoutChar("rubber bumper", "e") → "rubbr bumpr" withoutChar("Hello there", "e") → "Hllo thr" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy