angular.js split filter

علی ذوالفقار
1402/02/27 10:34:53 (179)
app.filter('split', function() {
    return function(input, delimiter) {
      var delimiter = delimiter || ',';      
      return (input) ? input.split(delimiter) : [] ;
    } 
  });
Back