about | help | code help+videos | done | prefs |
Write a method called removeString, which is given two Strings as input parameters. The method should return the first String which was passed to the method with every occurrence of the second String removed from the first String. For example removeString("Mississippi", "iss") would return "Mippi". removeString("Mississippi", "iss") → "Mippi" removeString("Honolulu", "o") → "Hnlulu" removeString("banana", "a") → "bnn" ...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: 200
Copyright Nick Parlante 2017 - privacy