以下のようなリストがあるとします
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']
私がやろうとしているのは、後overview
にすべての文字列を収集することです。つまり、文字列の前の文字列を無視する必要がありoverview
ます。の前後に文字列がたくさんあるかもしれませんが、の後overview
にある文字列だけをすべてリストとして集めて、
Sorryoverview
のようなものを使用して 1 つの文字列として作成したいのですが、単語を何度も使用している場合は、誰か方法を教えてください。''.join([list_fields])
これを行う
Edited Code:
- 「overview:」の後から「Bring your skill」の前までしか取得できません。
前もって感謝します