4 ответов
+ 3
You can use string method find or index:
[Similar discussion - SO]
https://stackoverflow.com/questions/2294493/how-to-get-the-position-of-a-character-in-JUMP_LINK__&&__python__&&__JUMP_LINK
[String index method]
https://www.tutorialspoint.com/python/string_index.htm
[String find method]
https://www.tutorialspoint.com/python/string_find.htm
Hth, cmiiw
+ 3
thank you very much
+ 3
оk
+ 2
You're welcome mate, and please make that correction in your post in other thread (example for %)
Cheers!