CSC152 2006S, Class 8: Strings, Continued Admin: * Read "Espresso: Numbers in Java" * Do "MadLibs, Revisited" * EC: Watch IPTV tonight at 8:30. * How EC works. * Detour: Graphics in Scheme Overview: * Questions? * Lab! Question: * Perhaps if you tell me how to extract the first and last name, I can better understand what's going on. * Suppose String line contains the whole line // Extract the last name String lname = line.substring(0, line.indexOf(":")); // Drop the last name line = line.substring(line.indexOf(":")); // Drop the colon line = line.substring(1); // Extract the first name String fname = line.substring(0, line.indexOf(":"));