strip char from list of strings
dstanek at dstanek.com
Tue May 19 09:32:01 CEST 2009
On Mon, May 18, 2009 at 3:30 PM, Laurent Luce <laurentluce49 at yahoo.com> wrote:
> I have the following list:
> [ 'test\n', test2\n', 'test3\n' ]
> I want to remove the '\n' from each string in place, what is the most efficient way to do that ?
What have you tried so far?
More information about the Python-list