Applied Materials interview question

String Manipulation Question was asked