[kepler-users] string splitter

Corinna Gries cgries at wisc.edu
Thu Jun 10 11:31:17 PDT 2010


Hi again,

when I am running this line of data:
6/19/2009,CEW,,6/10/2009,6,1,1000,52.5,31,1,1,1.017410714,0.625589286,1.3125,,

through the string splitter, splitting it on ',' it omits the last empty 
string, i.e. does not pass an empty string. Trying to read the array 
element in position 14 throws an error rather than returning an empty 
string, which is what I had expected.

I can work around it by just adding something to end of the line but is 
that an otherwise meaningful behavior?

Corinna



More information about the Kepler-users mailing list