The presence of TRUE as a parameter in Jmol just distinguishes one form of
a function from another, both with the same name. So in the case of split,
we have:
split() split along line boundaries; same as split("\n")
split("x") split at "x", removing that character; "x" could be any string
split("", TRUE) these two specific parameters indicate the data are in CSV
table format
split("\t", TRUE) these two specific parameters indicate the data are in
tab-separated table format
I generally prefer to stick with one function name rather than introducing
a bunch of somewhat related ones. That way all the options appear under one
heading. These could have been named splitLines, splitString, splitCSV, and
splitTabSeparated, I suppose.
Every function is different, of course...
Bob
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users