The function shifts each character of the input string by a certain number of positions to the right in the alphabetical order.

