Autodesk interview question

String manapulation