How to add a string into each and every string in an array by using javascript or jquery?
<p>Actually I want to add "*." at opening and ";" at ending on each array element. Below is the sample code.</p>

<pre><code>var ext = getExt(filename);
var s = '&lt;%=AllowedExtensions %&gt;';
var match = s.split(', ');
</code></pre>

<p>In the above code in 'match' I use to get ["jpg", "png", "txt"] like this. So here on each array element I want to prefix with "<em>." and at end of each want to add ";" and also it should give me a string such as "</em>.jpg;<em>.png;</em>.txt;" .</p>

<p>So please help me out on this to achieve this target.</p>

<p>Thanks.</p>
