S
Simon Tan
Hi all, I'm not sure why but I assumed gsub! would allow me to replace
\n with line feeds or \r for carriage returns.
How do I gsub! and replace everything with a nonvisible character like
newline? I was using this results.gsub!("\n","\n") but obviously that
does not work also tried results.gsub!("\n",10.chr). No go.
Kinda of frustrating for something so simple. I guess I could always do
some recursion. Thanks.
\n with line feeds or \r for carriage returns.
How do I gsub! and replace everything with a nonvisible character like
newline? I was using this results.gsub!("\n","\n") but obviously that
does not work also tried results.gsub!("\n",10.chr). No go.
Kinda of frustrating for something so simple. I guess I could always do
some recursion. Thanks.