Simon Tan wrote:
> I'm not sure why but I assumed gsub! would allow me to replace
> \n with line feeds

"\n" *is* a line feed.
>> string = "hello\nworld"
=> "hello\nworld"
>> puts string
hello
world
=> nil

HTH,
Sebastian
-- 
NP: Dire Straits - Brothers In Arms
Jabber: sepp2k / jabber.org
ICQ: 205544826