I have a code that adds a special character in certain positions of a string. The problem is that if there is an emoji in that string it will not be counted as 1 character but i