Guest User

Untitled

a guest
Feb 21st, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. str = "So don't return this (but do return this)"
  2. start = str.index("(")+1
  3. stop = str.rindex(")")-1
  4. str[start..stop]
Add Comment
Please, Sign In to add comment