Replace array functions with simple string concatenation