Thanks for your replies.

It does insert another character, but keeps the return too.

I have tried:
$text =~ s/\n/<br>/g;

and

$text =~ s/\r/<br>/g;

but it does the same thing, i.e. I get:

  Line1<br>
  Line2

What I need is:

  Line1<br>Line2

Do you know how to get rid of the returns altogether?

Guy

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to