Solve String exercises