ltrim on a block of text?

Costas Menico costas at meezon.com
Sat May 12 00:25:44 CEST 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