$text = "> 1"; #Hier viel viel code.... @array for $i (1..5) { $text = $text . "> $i";} Ausgabe: > 1 > 1 > 2 > 3 > 4 > 5