Revision: 20157 http://sourceforge.net/p/jmol/code/20157 Author: hansonr Date: 2014-12-05 04:07:05 +0000 (Fri, 05 Dec 2014) Log Message: ----------- Jmol.___JmolVersion="14.3.11_2014.12.04"
new feature: "....".split("",true) // CSV split of string to array of arrays new feature: [...].split("",true) // CSV split of array to array of arrays new feature: "...".split("\t",true) // tab split of string to array of arrays new feature: [...].split("\t",true) // tab split of array to array of arrays new feature: [...][...].join("",true) // CSV join to array of lines new feature: [...][...].join("\t",true) // tab join to array of lines -- example: x = load("test.csv").split("",true) //from CSV print x.join("",true) // back to CSV print x.join("\t",true) // to tab-separated new feature: [...][...].col(n) -- extracts nth column from an array of arrays -- example: x = load("test.csv").split("",true).col(3) //3rd column from CSV Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2014-12-05 04:06:01 UTC (rev 20156) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2014-12-05 04:07:05 UTC (rev 20157) @@ -15,6 +15,24 @@ TODO: design and implement sidechain mutation -- MUTATE command ? TODO: remove HTML5 dependency on synchronous file loading (check SCRIPT command for problems) +Jmol.___JmolVersion="14.3.11_2014.12.04" + +new feature: "....".split("",true) // CSV split of string to array of arrays +new feature: [...].split("",true) // CSV split of array to array of arrays +new feature: "...".split("\t",true) // tab split of string to array of arrays +new feature: [...].split("\t",true) // tab split of array to array of arrays +new feature: [...][...].join("",true) // CSV join to array of lines +new feature: [...][...].join("\t",true) // tab join to array of lines + -- example: + x = load("test.csv").split("",true) //from CSV + print x.join("",true) // back to CSV + print x.join("\t",true) // to tab-separated +new feature: [...][...].col(n) + -- extracts nth column from an array of arrays + -- example: + x = load("test.csv").split("",true).col(3) //3rd column from CSV + + Jmol.___JmolVersion="14.3.11_2014.12.02" bug fix: for (x in yUpperCase) fails This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits