JavaScript: String.Split with StringSplitOptions, Array removeEntries

  You would have used String.Split in C# a lot of times and would have appreciated options available like StringSplitOptions. Sometimes, we need similar split options in JavaScript as well. I have written this utility method which you can use  I have extended JavaScript “String” class using string prototype to add this method in all…