id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

removeAt


Return a version of the given string, where for every at (@) in the string the at and the chars immediately to its left and right are gone. So "ab@cd" yields "ad" and "ab@@cd" also yields "ad".


removeAt("ab@cd") → "ad"
removeAt("ab@@cd") → "ad"
removeAt("sm@eilly") → "silly"

...Save, Compile, Run (ctrl-enter)

public String removeAt(String str) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

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

Java Help

Misc Code Practice

Difficulty: 17

Copyright Nick Parlante 2017 - privacy