Won't rindex() be most direct?
Update: never mind that is just plain WRONG (that will give the last position). I should start waiting a few hours before posting.
In reply to Re: The nth occurrence of a character
by parv
in thread The nth occurrence of a character
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |