I have a text line and i want to assign a variable to a certain string which appears directly after the symbol '@' in this line of text
09807754 18 n 03 aristocrat 0 blue_blood 0 patrician 0 013 @ 09623038 n 0000
The only thing is that this word may not appear in the same location so I can't just go like this
L = line.split()
K = L[-2]
It has to be searched as the first string after the '@' symbol. That is the only place it remains constant.
what i would like is for K = 09623038