mystring = "the quick brown fox jumped over the lazy dog"
mylist = mystring.split()
mylist
['the', 'quick', 'brown', 'fox', 'jumped', 'over', 'the', 'lazy', 'dog']
newstring = "|".join(mylist)
newstring
'the|quick|brown|fox|jumped|over|the|lazy|dog'
newstring.split()
['the|quick|brown|fox|jumped|over|the|lazy|dog']
newlist = newstring.split("|")
print(newlist[1])
quick
[
'the',
"quick"
]
['the', 'quick']