in reply to DOS characters
Though, I would think you'd want to replace EOL chars with a space, otherwise the first word on one line will get glued onto the last word in the previous line. I'd suggest:$text_area =~ s/[\r\n]+//g;
instead to avoid this situation.$text_area =~ s/[\r\n]+/ /g;
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DOS characters
by kjherron (Pilgrim) on Sep 06, 2001 at 03:56 UTC |