On Mon, 2004-05-03 at 10:46, Traeder, Philipp wrote: > chomp might be the easiest (and probably fastest) solution.
True :-) But the '\n' he was looking for was in the middle of the sentence :-) BTW, I kept the trailing 'g' in the substitution just because I didn't knew what the input text might be like... :-) jac -- Josà Alves de Castro <[EMAIL PROTECTED]> Telbit - Tecnologias de InformaÃÃo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>