On Mar 28, 12:55 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> What about this:
>
> def lstrip2(string, chars, ignore_case=True):
>     if ignore_case:
>         chars = chars.lower() + chars.upper()
>     return string.lstrip(chars)
>
> Ciao,
>         Marc 'BlackJack' Rintsch

Thanks Marc. I think yours looks much better.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to