F5 interview question

Some basic String manipulation question. I cannot say the question because of the NDA