Suppose i had list as below
list_fields = ['Full-Time',
'Options:',
'Express your interest',
'Email this to a friend',
'More information about this job:',
'Overview:',
'A',
'Parasite',
'position is cool',
'Are you a LEADER?',
'For sure there',
'Hello doing?',
'If so you will EXCEL.',
'Bring your skills',
'programs and procedures']
what i am trying to do is collecting all the strings after overview, i mean need to ignore the strings before overview string. There may many strings before and after overview, but want to collect all the strings only after overview as a list and want to make them as a single string by using something like ''.join([list_fields])
Sorry if i am using words again and again, can anyone please tell me how to do this
Edited Code:
- Can we only fetch from after “overview:” to before ‘Bring your skills’.
Thanks in advance
If you know that the string is litterally
"Overview:", you can doThis uses
list.index()to determine the index of"Overview:"in the list, and uses slicing to get the sublist starting at the index after"Overview:".