Hello all,
I am having trouble using the word() function. I start with a .csv
for example:
col1,col2
0,556
0,557
0,558
-1,225
-1,226
Datafile = Load Text File (...);
line_content = Words (Datafile, "\!n");
For(nn=2, nn <= N items (line_content), nn++,
Col1_list=Word(1,line_content[nn], ",");
Col2_list=Word(2,line_content[nn], ",");
);
The resulting lists are:
{"0", "0", "0", "-12", "-12"}
{"556", "557", "558", "25", "26"}
hence the word() function works differently if the line starts with a minus... I have tried Item () and using a Num(Word()) clause, but it does not change anything. I have also tried Word(1,Trim(line_content[nn],",")).
I am using JMP 14.0.0
Thanks in advance