Login  Register

Bug report split(string, delimiters) macro function

Posted by Gabriel Schweighauser on Jul 23, 2014; 4:08pm
URL: http://imagej.273.s1.nabble.com/Bug-report-split-string-delimiters-macro-function-tp5008864.html

Dear List,

The built-in macro language function shows an unexpected behaviour if an
"empty" column is present in the string.

Example:

split("1,2,3,,5",",");

returns the same array as:

split("1,2,3,5",",");

Hence, parsing tables with "empty" cells from csv-files does not work.

Is there a way to fix this?

We're using ImageJ 1.49b.


Thanks for your reply,
Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html