0

Here's the problem:

I have this string "flames". Then I get a number from earlier part of myprogram. Let the number be 4. Now 'm' is the 4th character. This should be removed. Then the remaining string is "flaes". Now 'e is the fourth char. This should be removed. Finally only one character remains standing. This character should be displayed.