Alteryx interview question

String manipulation question and arrays question.