OpenText interview question

array and string based questions asked in the 2nd round (medium level)