Aziro interview question

String manipulation without use of predefined functions