Basically i need to use JOptionPane and have the user enter a name followed by a . (dot) and a file extension. After they have done that the output should be the extension name without the dot.
Ex
Please enter a file with dot extention > new.html
You choose html
heres what i have, i have no clue on how the heck i get rid of the dot or a way to start after the . (dot)
String input = JOptionPane.showInputDialog(null," Please enter a file plus its dot format");
JOptionPane.showMessageDialog(null, "you choose " +);