This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a file name 1234_abc_abcd_45678_01-05-2010.rtf which I need to remove everything before the 3rd underscore. This is probably easy but I am trying to teach myself Java and don't come from a programming background. Thanks for the help.
var filename = "1234_abc_abcd_45678_01-05-2010.rtf";
for (int i = 0; i < fileName.length(); i++)
if (fileName.charAt(i) == '_')