split an array or string by another array or string