Problem 4 : String Operations