in reply to put a array value into string.

the initiative of join() function is to concatenate arbitrary length of list using one same delimiter. It seems your requirement is in reverse: you want to concatenate fixed length of list using different delimiter. So instead of using join(), you can just format them into a string by accessing the items in fixed position.

Replies are listed 'Best First'.
Re^2: put a array value into string.
by swissknife (Sexton) on Mar 18, 2014 at 15:07 UTC
    Thanks for your response and explanation. it helped me a lot.