I have a char array called data.
I should write a method that makes it possible to return the array but with a starting point that is an integer variable called beginIndex.
Example: array contains 'A', 'B', 'C', 'D' and beginIndex = 2. Then it should return 'B', 'C', 'D' (yes the index himself in this case the 2nd letter should be included as well!)
How do I do this? Or is it wiser to change it into a String and later change it back into a char array?