Comments

 
User Comments for the tutorial:

JavaScript Array Trim



Total comments: 1      View Tutorial    Discuss: JavaScript Array Trim

Advertisement

Comments

To Trim() JavaScript var
<% List videoFileTypes = display.getVideoExtnTypes(); %> var videoFileTypes = new Array(); videoFileTypes='<%=videoFileTypes%>'; var v1=videoFileTypes.replace("[",""); var v2=v1.replace("]",""); var v4 = v2.replace(/\s+/g,'') 

Related Tutorial and Articles