Tanium interview question

String parsing problem