String manipulation kata implementation