Index keyword for string iterator. Range checks for array iterator.

Range check are copy paste from for loop implementation. But it produce warnings and doesn't fail. But in for loop same code does. TODO: investigate.