Consider using StringBuilder instead of String for performance reasons.