Dinner Coding Time logo, a very stylized D

String-1 > firstTwo

public String firstTwo(String str) { if (str.length() == 0) { return ""; } else if (str.length() == 1) { return str; } else { return str.substring(0, 2); } }