title: How to change position of an element in an array?
body: <p>If I have an array, for example this</p>
  
  <pre><code>Dim Players() As String = {"Adam", "Helen", "Jack", "Emily"}
  </code></pre>
  
  <p>How do I change the position of each element by a value, for example if by 1, <code>Adam</code> will move to 2, <code>Helen</code> will move to 3, and <code>Emily</code> should come back to 1.</p>
  
  <p>I was able to do this if increment by 1. I would have the last element stored in a variable and when done moving all elements by 1, I would set the first element to the variable(Emily in this case).</p>
  
  <p>How would I do it if having different increment values like 2, 3, 4, or even 6?</p>
  
  <p><strong>Edit:</strong> Any programming language is fine but it has to be done with for loops and no functions. </p>
  
  <p><strong>Update:</strong> I am an IGCSE student and this question is bugging from over a week.</p>