Tokenize a string: Difference between revisions

m (→‎Icon and Unicon: header simplification)
Line 198:
 
a[n]=strtok(ds, ",");
while(a[n] && n<4) a[++n]=strtok(NULLds, ",");
 
for(nn=0; nn<=n; ++nn) printf("%s.", a[nn]);
Anonymous user