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

 

concatWithoutFirstTWOLastTWOLetters


public String concatWithoutFirstTWOLastTWOLetters(String a, String b)

Given 2 strings, return the concatentation of the the strings WITHOUT their FIRST 2 and LAST 2 letters.


concatWithoutFirstTWOLastTWOLetters("0123456789", "abcdefgh") → "234567cdef"
concatWithoutFirstTWOLastTWOLetters("Downtown", "Magnets") → "wntogne"
concatWithoutFirstTWOLastTWOLetters("United", "States") → "itat"

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

public String concatWithoutFirstTWOLastTWOLetters(String a, String b) { }

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: 13

Copyright Nick Parlante 2017 - privacy