Chris wrote: > or what about 'string'.splitlines(True) as that retains newline > characters. ;)
Okay, you win :) Man, you'd think with the ease of object introspection I'd have at least looked at its docstring :) Cheers, Chris! -- http://mail.python.org/mailman/listinfo/python-list