The function appends a special character to the input string if the string consists of alphabetic characters only. If the input string contains any non-alphabetic characters, it leaves the string unchanged.

