The function removes every second character from the input string.

