0
/ 1.0
Given a string of even length, return the first half. So the string "WooHoo" yields "Woo".
Score: 0 / 5.0
Given a string of even length, return the first half. So the string "WooHoo" yields "Woo".
Write a function in Java that implements the following logic: Given a string, return a string of length 1 from its front, unless front
is...
Given a string, return a new string made of 3 copies of the last 2 chars of the original string. The string's length will be at least 2.
...Given a string, return the string made of its first two chars, so the string "Hello" yields "He". If the string is shorter than length 2,...
Write a function in Java that implements the following logic: Given 2 strings, a and b, return a string of the form short+long+short,...