Hai, can any one please help me to converts array elements to a single string

For Example :

Myarray =

Ouput should be like id='Mac,Windows,vista'


Pleaseeeeeeeee help me............

Use

separator.join(sequence_of_string_values)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.