about | help | code help+videos | done | prefs |
Write a method that returns a string 'str' but with all the characters between 'low' and 'high' (inclusive) removed. As a precondition, you may assume that 'low' and 'high' will be lower-case letters. Your method must remove ONLY lower-case letters and the space character. Do not remove any special symbols except for the space character. dec16_2019_SLHL_removeBetweenLower("I have spent so much time writing this test. It is very frustrating that I can't write these faster. I have to make so much test data. That is the part that takes the longest. Oh well! Hopefully at least I am making you better programmers.", "a", "z") → "I.II'.I.T.O!HI." dec16_2019_SLHL_removeBetweenLower("This problem really isn't too difficult.", "c", "f") → "Thisproblmrallyisn'ttooiiult." dec16_2019_SLHL_removeBetweenLower("438gfdkl043gfjsk", "a", "z") → "438043" ...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: 290
Copyright Nick Parlante 2017 - privacy