thanks botp :) works fine,

i had seen \n but
 1. i did not know where to put it in the string
 2. and i thought it was /n

-- 
Posted via http://www.ruby-forum.com/.