split_foreach