Infosys interview question

String manipulation techniques and usecases