Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> s = 'Zaptoit:685158:zaptoit@hotmail.com'
- >>> s.split( ':', 1 )[1]
- '685158:zaptoit@hotmail.com'
- s = 'Zaptoit:685158:zaptoit@hotmail.com'
- s.split(':', 1)[1]
- s = 'Zaptoit:685158:zaptoit@hotmail.com'
- s[s.find(':')+1:]
- >>> s = 'Zaptoit:685158:zaptoit@hotmail.com'
- >>> s[s.find(':')+1:]
- '685158:zaptoit@hotmail.com'
- s = re.sub('^.*?:', '', s)
Add Comment
Please, Sign In to add comment