Join strings - very simple Q.

Paulo da Silva psdasilvaX at esotericaX.ptX
Fri Mar 23 14:37:50 EDT 2007


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



More information about the Python-list mailing list