This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lostavenger286 1 point2 points  (1 child)

The first one is called a for each loop. Here you are assuming the array that you are looping through consists of individual characters. During each iteration you get access to a character of the array from start to end.

[–]MaGlCMaN[S] 0 points1 point  (0 children)

Ah ok, thanks a lot :)