[Tutor] position

linda.s samrobertsmith at gmail.com
Sat Oct 27 21:52:25 CEST 2007


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


More information about the Tutor mailing list