Originally posted by DevGrp
If the return statement is in the loop, that loop will only iterate once. On the first go, when it gets to the return statement it will break out of that function.
It makes sense . I'll try other ways if possible . Thanks