On 2/9/13, Peter Sommerfeld <noreply at rubrica.at> wrote: > I wonder what the best, that means the fastest way is > to remove all whitespace " \t\n\r" from as string. > Whitespace are distributed erratically within the string. > > Peter > Try "f\too\t\n\rb\nar".removechars("\t\n\r")