Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. delimiter=','
  2. position=2
  3. row='foo,bar,baz,googoo'
  4. print(row.split(delimiter)[position])
  5.  
  6. baz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement