Guest User

Untitled

a guest
Jan 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. last_index = -1
  2.  
  3. while (last_index = string.find("whatever", last_index + 1)) > -1:
  4. do_stuff(last_index)
Add Comment
Please, Sign In to add comment