P
Philippe Rousselot
Hi,
How do I find the second iteration of a character in a string using python
this gives me the first one
f1 = string.find(line,sub)
this the last one
f2 = string.rfind(line,sub)
but for the nth one ?
Thanks in advance
Philippe
PS : any good book to recommend ?
How do I find the second iteration of a character in a string using python
this gives me the first one
f1 = string.find(line,sub)
this the last one
f2 = string.rfind(line,sub)
but for the nth one ?
Thanks in advance
Philippe
PS : any good book to recommend ?