I was just wondering how to break a loop early if a result is found before the looping operation is compleated?
I'm using a for loop to search but I would like to break out of the for loop if the result is found before the end of the for loop.
I'm using a for loop to search but I would like to break out of the for loop if the result is found before the end of the for loop.