Revert string method for course