On Mar 23, 2:37 pm, Paulo da Silva <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I was told in this NG that string is obsolet. I should use
> str methods.
>
> So, how do I join a list of strings delimited by a given
> char, let's say ','?
>
> Old way:
>
> l=['a','b','c']
> jl=string.join(l,',')
>
> New way?
>
> Thanks
> Paulo

New way:
l=['a','b','c']
jl=','.join(l)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to