Morgan Stanley Interview Question

write code convert string to offset value e.g. String ='ABC' offset 2 then output = 'CDE'