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];
String str="1.2.3"; String[] cats = str.split(Pattern.quote("."));