ltrim on a block of text?

Costas Menico costas at meezon.com
Fri May 11 18:25:44 EDT 2001


Bjorn Pettersen <BPettersen at NAREX.com> wrote:

left triming is accomplised by the sring module.

>>> import string
>>> string.lstrip('  \t xxxx')


Costas



More information about the Python-list mailing list