I have an array with strings and I need every element that include a certain string to be deleted.
var arr = ["abc", "123", "dfg", "bbb"];
var string = "b"
After deleting any elements that include the string, the array should look like this:
["123", "dfg"];