On Wed, 27 Jun 2001, Stéphane JEAN BAPTISTE wrote:

> I have a variable and I want to write it into a textarea (HTML). The
> problem is when I look at the textarea in my HTML page, there is the
> text I want, plus a trailing newline.
>
> How can I delete this.
>
> My variable:
> "$texte="wazaa";"
>
> In textarea:
> "wazza
> "

You can chomp off that trailing newline using 'chomp'.  Weren't you the
guy who was asking about it yesterday?

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
This fortune intentionally says nothing.

Reply via email to