On May 16, 12:42 pm, mosscliffe <[EMAIL PROTECTED]> wrote:
> I am looking for a simple split function to create a list of entries
> from a string which contains quoted elements. Like in 'google'
> search.
>
> eg string = 'bob john "johnny cash" 234 june'
>
> and I want to have a list of ['bob', '
Thank you very much for all for your replies.
I am now much wiser to using regex and CSV.
As I am quite a newbie, I have had my 'class' education improved as
well.
Many thanks again
Richard
On May 16, 12:48 pm, Duncan Booth <[EMAIL PROTECTED]>
wrote:
> mosscliffe <[EMAIL PROTECTED]> wrote:
> >
mosscliffe <[EMAIL PROTECTED]> wrote:
> I am looking for a simple split function to create a list of entries
> from a string which contains quoted elements. Like in 'google'
> search.
>
> eg string = 'bob john "johnny cash" 234 june'
>
> and I want to have a list of ['bob', 'john, 'johnny cash
Hi,
mosscliffe wrote:
> I am looking for a simple split function to create a list of entries
> from a string which contains quoted elements. Like in 'google'
> search.
>
> eg string = 'bob john "johnny cash" 234 june'
>
> and I want to have a list of ['bob', 'john, 'johnny cash', '234',
> 'jun
Paul Melis wrote:
> Hi,
>
> mosscliffe wrote:
>
>> I am looking for a simple split function to create a list of entries
>> from a string which contains quoted elements. Like in 'google'
>> search.
>>
>> eg string = 'bob john "johnny cash" 234 june'
>>
>> and I want to have a list of ['bob', 'jo
I am looking for a simple split function to create a list of entries
from a string which contains quoted elements. Like in 'google'
search.
eg string = 'bob john "johnny cash" 234 june'
and I want to have a list of ['bob', 'john, 'johnny cash', '234',
'june']
I wondered about using the csv rou