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

 

concatStrange


public String concatStrange(String a, String b)

Given 2 strings:
String a WITHOUT its last letter
String b WITHOUT its first letter
and concatenate them.


concatStrange("012345", "abcdef") → "01234bcdef"
concatStrange("Downtown", "Magnets") → "Downtowagnets"
concatStrange("United", "States") → "Unitetates"

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

public String concatStrange(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