That creates a LOT of garbage. Better make a string once and slice this string then.