Texas Instruments Interview Question

String Manipulation which has spelling mistake and that has to be corrected