From: Jenny Purcell Date: 2007-07-22T14:45:00+09:00 Subject: extra text in puts command This one seems incredibly simple and I'm sure I'm just missing something obvious. I have the following 'puts' command to push my results to a csv file: puts CSV.generate_line([pole_new[j], horse_name[j], horse_info[j], owners_initials[j], best_result[j], race_style[j], best_time[j], pre_points[j], roll_1[j], roll_2[j], roll_3[j], roll_4[j], roll_5[j], score[j], position[j]]) What I'd like to do is add "pp" in front of the entry pole_new[j]. So, the results in the csv file will look like "pp6" when the contents of pole_new is "6" For position, I'd like to do something similar, but, instead I'd like to it come out as "/". So, I want to combine position[j] and count in one CSV field. If the position is first of ten, it would look like "1/10" in the CSV file. Do I need to escape the slash "/" and "pp" in some way? Jenny