Autodesk interview question

Basic string and array manipulation questions