id/email
password
forgot password
create account
 
Or use Mozilla Persona:

Nick's post on Why Persona is Great
about | help | code help+videos | done | prefs
CodingBat code practice

Java > String-3 > withoutString
prev  |  next  |  chance

Given two strings, base and remove, return a version of the base string where all instances of the remove string have been removed (not case sensitive). You may assume that the remove string is length 1 or more. Remove only non-overlapping instances, so with "xxx" removing "xx" leaves "x".

withoutString("Hello there", "llo") → "He there"
withoutString("Hello there", "e") → "Hllo thr"
withoutString("Hello there", "x") → "Hello there"

...Save, Compile, Run


Show output only (no red/green)

prev  |  next  |  chance   |  CodingBat  >  String-3

Forget It! -- delete my code for this problem

Progress graphs, just for fun:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Code Help and Videos

Misc Code Practice

306.0

Copyright Nick Parlante 2006-11 - privacy