Thank you very much.
I needed this kick. :)
Rg,
Boris

Grant Edwards napĂ­sal(a):
> On 2006-11-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hallo all,
> >
> > I have tried for a couple of hours to solve my problem with re but I
> > have no success.
> >
> > I have a string containing: "+abc_cde.fgh_jkl\n" and what I need to
> > become is "abc_cde.fgh_jkl".  Could anybody be so kind and write me a
> > code of how to extract this text from that string?
>
> >>> s = "+abc_cde.fgh_jkl\n"
> >>> s[1:-1]
> 'abc_cde.fgh_jkl'
>
> --
> Grant Edwards                   grante             Yow!  ... I think I'm
>                                   at               having an overnight
>                                visi.com            sensation right now!!

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to