Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- delimiter=','
- position=2
- row='foo,bar,baz,googoo'
- print(row.split(delimiter)[position])
- baz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement