I am wondering if I am going about splitting a string on a . the right way? My code is:
.
String[] fn = filename.split(\".\"); return fn[0];
Usually its NOT a good idea to unmask it by hand. There is a method in the Pattern class for this task:
java.util.regex static String quote(String s)