I have a string a= "qq,eee,rrr".
>>> a.index(",")
2
It is the position of the first "," in a.
Is that possible to find the Nth "," in a if a is a very long string
and I need know the position of the Nth ","?
Thanks,
Linda
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
- [Tutor] position linda.s
- Re: [Tutor] position Alan Gauld
- Re: [Tutor] position linda.s
