String Rotation Problem

Closed on user’s request.