Yes, I know he needs delimit_str=" " but he could set it to "" after he wrote the second last var and before the last one:

something like:

Code:

......
str_cpy(delimit_str, " ");
file_var_write(handle, a);
file_var_write(handle, b);
file_var_write(handle, c);
file_var_write(handle, d); //there's a " " after every var
str_cpy(delimit_str, ""); //but not after the very last one
file_var_write(handle, e);
.......




As I told, Ive not tested, its just a little hint...


nipx