about | help | code help+videos | done | prefs |
Write a method that returns a copy of 'str' but with all instances of the letter 'remove' removed from the string. Notice that this process is case-sensitive, so if 'e' is being removed, 'E' will NOT be removed. test2021_04_08_APP1SLHL_removeLtr("UPPERCASE and lowercase are treated differently", "E") → "UPPRCAS and lowercase are treated differently" test2021_04_08_APP1SLHL_removeLtr("UPPERCASE and lowercase are treated differently", "e") → "UPPERCASE and lowrcas ar tratd diffrntly" test2021_04_08_APP1SLHL_removeLtr("For example, if you remove all the 'e' letters you get this:", "e") → "For xampl, if you rmov all th '' lttrs you gt this:" ...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