Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove every element of array which starts with char text

arr = arr.filter(function (item) {
   return item.indexOf("ftp_") !== 0;
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #element #array #starts #char #text
ADD COMMENT
Topic
Name
9+5 =