Finding equal consecutive elements of a specific number in 2d array

Hey, so I have a 2D array consisting of 0's and 1's. Let's say I want to see if there is a group of 5 consecutive 0's located in the same row, no more and no less, starting from the first row. Could anyone help me with this?
Topic archived. No new replies allowed.