On Tue, 27 May 2008 10:54:20 +0200 Joerg Desch <jd.vvd at web.de> wrote: > I would line to extract the remaining part of a line but without > trailing whitespaces and without the \n. Sorry. I have forgotten to write, that the snippet works if there whitespaces and a \n. But if doesn't strip of a single \n! -- Email: Joerg Desch <jd DOT vvd AT web DOT de>